diff options
author | Hiroyuki Sato <h-sato@ruby-dev.jp> | 2016-10-28 21:48:40 +0900 |
---|---|---|
committer | Hiroyuki Sato <h-sato@ruby-dev.jp> | 2016-11-06 12:05:13 +0900 |
commit | ee7374a9fb16ca65603ef095de2856694612d68f (patch) | |
tree | 5ff1cf92eb712fa97ebe3e94b6f016b35a106cfa /app/controllers | |
parent | 56264f35d40e3ebcebf2b88b9ff6f3a8f4f545e9 (diff) | |
download | gitlab-ce-ee7374a9fb16ca65603ef095de2856694612d68f.tar.gz |
Separete a very long line
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/projects/network_controller.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/projects/network_controller.rb b/app/controllers/projects/network_controller.rb index 54783bbc5bb..3dbc7a492b5 100644 --- a/app/controllers/projects/network_controller.rb +++ b/app/controllers/projects/network_controller.rb @@ -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 |