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
This does not work as (I'd) expected where I'd like the relationship/nesting but I do not need/cannot use restful routes for the parent, but want to keep the structure (in this case, a legacy app with legacy pre-restful routes).
This does not work as (I'd) expected where I'd like the relationship/nesting but I do not need/cannot use restful routes for the parent, but want to keep the structure (in this case, a legacy app with legacy pre-restful routes).
While not shown explicitly in the docs in rails https://guides.rubyonrails.org/routing.html#restricting-the-routes-created you can use an empty array
only: []
to not have any routes at all, this shows up in testing and also mentioned in this SO answer: https://stackoverflow.com/a/27425638Can we allow only to be passed as an empty list/string and be accepted?
The text was updated successfully, but these errors were encountered: