Update usages of project_commit[s] route helpers
This commit is contained in:
parent
99d391332f
commit
1048917232
8 changed files with 9 additions and 9 deletions
|
@ -19,7 +19,7 @@ class RefsController < ApplicationController
|
|||
new_path = if params[:destination] == "tree"
|
||||
project_tree_path(@project, @ref)
|
||||
else
|
||||
project_commits_path(@project, ref: @ref)
|
||||
project_commits_path(@project, @ref)
|
||||
end
|
||||
|
||||
redirect_to new_path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue