rails 3 routing not working as i would like
-
26-10-2019 - |
Question
How would i go about routing the default page in my rails application to :
at the moment in my routes file i have:-
root :to => 'pages#show'
Solution
Just add the id param like:
root :to => 'pages#show', :id => 1
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow