You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the concern is used on a nested resource, duplicate routes are generated.
concern :foo do
get 'bar'
end
resources :one do
resources :two, concerns: :foo
end
The above produces this:
one_two_bar GET (/:portal_slug)/one/:one_id/two/:two_id/bar(.:format) two#bar {:concerns=>:foo}
GET (/:portal_slug)/one/:one_id/two/:two_id/bar(.:format) two#bar {:concerns=>:foo}
The text was updated successfully, but these errors were encountered:
If the concern is used on a nested resource, duplicate routes are generated.
The above produces this:
The text was updated successfully, but these errors were encountered: