Displaying 1 result from an estimated 1 matches for "request_error".
2009 Jun 13
8
Removing routes to new, show, etc. in a model
...000/demos/new (should not be a route)
http://localhost:3000/demos/edit (should not be a route)
http://localhost:3000/demos/show (should not be a route)
I tried to create a new route:
map.connect "*anything", :controller => ''rushing_offenses'', :action =>
''request_error''
.. and built an request_error.html.erb file so that if anyone tried to
go elsewhere while within that controller it would toss them to the
request_error.html.erb file (but that''s not working)
I was trying to find more about RESTful routes but I''m just not finding
what...