diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-06-30 13:20:15 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-07-08 11:04:04 +0200 |
commit | c6f9a1c273beb7e427da1e384ed27e323d6f3b29 (patch) | |
tree | 9f2c94e7975c11870c2cca1bcfbe6d1dd169563a /app/controllers/projects_controller.rb | |
parent | 2c650b6f30d2e76cf632d6ce5771859aed67ac48 (diff) | |
download | gitlab-ce-c6f9a1c273beb7e427da1e384ed27e323d6f3b29.tar.gz |
Enable Style/IdenticalConditionalBranches Rubocop cop
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r-- | app/controllers/projects_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 12e0d5a8413..1803aa8eab4 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -53,11 +53,11 @@ class ProjectsController < Projects::ApplicationController notice: "Project '#{@project.name}' was successfully updated." ) end - format.js else format.html { render 'edit' } - format.js end + + format.js end end |