hey i am having problems when defining routes like this.
map.room ‘room/:name’, :controller => ‘room’, :action => ‘show’
when i try goto any url such as:
it works fine to goto the show method with a param :name.
but when i want to use my other actions such as ‘list’ it still treats
it as room/:name and will direct it to my show action.
**NoMethodError in Room#show
Showing room/show.rhtml where line #1 raised:
You have a nil object when you didn’t expect it!
The error occurred while evaluating nil.name