diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-05-04 18:04:59 +0200 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-05-04 18:04:59 +0200 |
commit | aca32becb895c57c196c81d45b6661e80ed09ebb (patch) | |
tree | fc25ba3e84ed152306c85fab0583ad78475ed5ac | |
parent | efae273ab8f35418e3b4550e33c10e8809c3a78a (diff) | |
download | gitlab-ce-38543-scale-deployments-directly-from-the-environment-page.tar.gz |
Return redundant return statement38543-scale-deployments-directly-from-the-environment-page
-rw-r--r-- | app/controllers/projects/environment_scalings_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/environment_scalings_controller.rb b/app/controllers/projects/environment_scalings_controller.rb index a6f37cf5beb..e8929d6dc6c 100644 --- a/app/controllers/projects/environment_scalings_controller.rb +++ b/app/controllers/projects/environment_scalings_controller.rb @@ -8,7 +8,7 @@ class Projects::EnvironmentScalingsController < Projects::ApplicationController def update if @environment_scaling.update(scaling_params) respond_to do |format| - format.json { return head status: :ok } + format.json { head status: :ok } end else respond_to do |format| |