-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add project variable to all *_path calls in our breadcrumb partial
While working on the bootstrap migration for the status tab I got routing issues due to missing 'project' parameters. The reason for that is that we explicitly set the 'project' for some path helper calls, but not for all. ==== No route matches {:action=>"index", :controller=>"webui/repositories", :format=>"html"}, missing required keys: [:project] - unless project.defines_remote_instance? || project.is_maintenance? %li.nav-item = tab_link('Repositories', repositories_path) %li.nav-item = tab_link('Monitor', project_monitor_path(project)) %li.nav-item
- Loading branch information
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters