Commit ee7374a9 authored by Hiroyuki Sato's avatar Hiroyuki Sato

Separete a very long line

parent 56264f35
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment