Ruby on Rails Friday, June 8, 2012

Can you also show the contents of 'routes.rb'?

On Fri, Jun 8, 2012 at 9:19 AM, John Merlino <stoicism1@aol.com> wrote:
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.


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

No comments:

Post a Comment