rails 3 routing not working as i would like
-
26-10-2019 - |
سؤال
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'
المحلول
Just add the id param like:
root :to => 'pages#show', :id => 1
لا تنتمي إلى StackOverflow