Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Rails 3.0.9: No route matches {:action=>"show", :controller=>"admin/series"} #369

Closed
epochwolf opened this Issue Aug 15, 2011 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

epochwolf commented Aug 15, 2011

I have a model named "Series" and the menu is trying to use admin_series_path to build the link. It should be using admin_series_index_path

Partial output of rake_routes

admin_series_index GET    /admin/series(.:format)                 {:action=>"index", :controller=>"admin/series"}
admin_series GET    /admin/series/:id(.:format)             {:action=>"show", :controller=>"admin/series"}

Partial trace

actionpack (3.0.9) lib/action_dispatch/routing/route_set.rb:195:in `admin_series_path'
activeadmin (0.2.2) lib/active_admin/menu_item.rb:40:in `url'
activeadmin (0.2.2) lib/active_admin/views/tabs_renderer.rb:29:in `block in render_item'
Contributor

epochwolf commented Aug 15, 2011

This was closed earlier without any resolution. gregbell#89

@ghost ghost assigned gregbell Aug 18, 2011

@gregbell gregbell closed this in aafde51 Aug 18, 2011

Contributor

epochwolf commented Aug 18, 2011

thanks gregbell!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment