Ruby on Rails
Friday, June 8, 2012
Maybe you have some route that overwrite this route, look at your route file lines before you write.
пятница, 8 июня 2012 г., 7:49:17 UTC+4 пользователь John Merlino написал:
Hey all,--
When I run rake routes, I see this:
inventory_dashboard /inventory/
(.:format)
{:action=>"show", :controller=>"inventory"}
when I invoke this:
inventory_dashboard_path
I get this:
Processing InventoryController#index (for 127.0.0.1 at 2012-06-07
23:45:37) [GET]
Parameters: {"action"=>"index", "controller"=>"inventory"}
This is not making any sense. Why isn't it loading the show action?
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/GBK75aGvhZUJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment