refactor rubocop suggestion

This commit is contained in:
Martin Cabrera 2017-01-16 23:17:24 +01:00
parent fe4c2b8b75
commit 856003cfea
1 changed files with 1 additions and 1 deletions

View File

@ -65,4 +65,4 @@ class Projects::CompareController < Projects::ApplicationController
@merge_request ||= MergeRequestsFinder.new(current_user, project_id: @project.id).execute.opened.
find_by(source_project: @project, source_branch: @head_ref, target_branch: @start_ref)
end
end
end