Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Show in App for nested resources #1291

Open
johnschult opened this Issue · 2 comments

3 participants

@johnschult

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>
@everton

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.