Fix project.code-related functionality
This commit is contained in:
parent
c50ec72b52
commit
470aa7675e
8 changed files with 9 additions and 16 deletions
|
@ -7,7 +7,7 @@
|
|||
.container
|
||||
%ul.main_menu
|
||||
= nav_link(html_options: {class: "home #{project_tab_class}"}) do
|
||||
= link_to @project.code, project_path(@project), title: "Project"
|
||||
= link_to @project.path, project_path(@project), title: "Project"
|
||||
|
||||
- if @project.repo_exists?
|
||||
- if can? current_user, :download_code, @project
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue