Yes, routes are there:
admin_clubs GET /admin/clubs(.:format)
{:action=>“index”, :controller=>“admin/clubs”}
POST /admin/clubs(.:format)
{:action=>“create”, :controller=>“admin/clubs”}
new_admin_club GET /admin/clubs/new(.:format)
{:action=>“new”, :controller=>“admin/clubs”}
edit_admin_club GET /admin/clubs/:id/edit(.:format)
{:action=>“edit”, :controller=>“admin/clubs”}
admin_club GET /admin/clubs/:id(.:format)
{:action=>“show”, :controller=>“admin/clubs”}
PUT /admin/clubs/:id(.:format)
{:action=>“update”, :controller=>“admin/clubs”}
DELETE /admin/clubs/:id(.:format)
{:action=>“destroy”, :controller=>“admin/clubs”}
club GET /clubs/:id(.:format)
{:action=>“show”, :controller=>“clubs”}
The problem is that admin_club_path(club) doesn’t work but
admin_club_path(club.id) does.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.