Separete a very long line

This commit is contained in:
Hiroyuki Sato 2016-10-28 21:48:40 +09:00
parent 56264f35d4
commit ee7374a9fb
1 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,9 @@ class Projects::NetworkController < Projects::ApplicationController
respond_to do |format|
format.html do
flash.now[:alert] = "Git revision '#{params[:extended_sha1]}' does not exist." if params[:extended_sha1].present? && !@commit
if params[:extended_sha1].present? && !@commit
flash.now[:alert] = "Git revision '#{params[:extended_sha1]}' does not exist."
end
end
format.json do