Route is not loading correct action

Hey all,

When I run rake routes, I see this:

                        inventory_dashboard         /inventory/

{:action=>“show”, :controller=>“inventory”}

when I invoke this:


I get this:

Processing InventoryController#index (for 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?

Can you also show the contents of ‘routes.rb’?

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