Update usages of project_commit[s] route helpers

This commit is contained in:
Robert Speicher 2012-09-25 18:50:02 -04:00
parent 99d391332f
commit 1048917232
8 changed files with 9 additions and 9 deletions

View file

@ -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