[#369] fix double render

This commit is contained in:
Alexander Machehin 2015-02-02 23:21:28 +05:00
parent fb438e3c75
commit 79dbe762e5
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ class Projects::PullRequestsController < Projects::BaseController
def show def show
if @pull.nil? if @pull.nil?
redirect_to project_issue_path(@project, @issue) redirect_to project_issue_path(@project, @issue)
return
end end
load_diff_commits_data load_diff_commits_data