Is it possible to detect a route value in a view?

Such as `/pages/create/1` and I want to check to see if 1 is there?

Basically, I want to render a different partial view based on this value though I'm fairly sure this is probably not the best way to go about what I'm trying to achieve.

On a side note, instead of doing the above is it possible for me to be able to change what partial views are rendered in a view based on a value from within my controller?