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

Show in App for nested resources #1291

Open
johnschult opened this Issue Aug 22, 2012 · 2 comments

Comments

Projects
None yet
3 participants

If a resource is nested in routes.rb the "eye" (show in app link) is not displayed. I can see why this is, since the routes are nested.

I have:

 resources :categories do
    resources :items do
      resources :foos
      resources :bars
    end
end

If I add:

resources :items

then the eye shows up in the items index and it even correctly goes to the right page, including the nested category. Adding similar lines for foos and bars does not work. The links just resolve to:

/foos/<id>
Contributor

brewster1134 commented May 1, 2013

+1

everton commented Feb 19, 2014

+1

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