Thursday, June 7, 2012

[Rails] route is not loading correct action

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 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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate