search for: user_project_issue_path

Displaying 1 result from an estimated 1 matches for "user_project_issue_path".

2012 Jun 04
13
Nested Resource Route Helpers
Hello all, I''m working on a Rails app and I have resources nested three deep - let''s call them user, project, and issues. The route helpers now look like user_project_issue_path(@user, @project, @issue). Would it make sense for Rails to guess the @user <https://github.com/user> and @project<https://github.com/project> relations from @issue <https://github.com/issue>? It just feels like a lot of redundant and non-DRY code. I''m willing to write...