From 79dbe762e52f466d1190ba0b978d0671cf523b89 Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Mon, 2 Feb 2015 23:21:28 +0500 Subject: [PATCH] [#369] fix double render --- app/controllers/projects/pull_requests_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/projects/pull_requests_controller.rb b/app/controllers/projects/pull_requests_controller.rb index 8320d1a20..fc0efa252 100644 --- a/app/controllers/projects/pull_requests_controller.rb +++ b/app/controllers/projects/pull_requests_controller.rb @@ -87,6 +87,7 @@ class Projects::PullRequestsController < Projects::BaseController def show if @pull.nil? redirect_to project_issue_path(@project, @issue) + return end load_diff_commits_data