summaryrefslogtreecommitdiff
path: root/app/controllers/projects/environments_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/projects/environments_controller.rb')
-rw-r--r--app/controllers/projects/environments_controller.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/controllers/projects/environments_controller.rb b/app/controllers/projects/environments_controller.rb
index 47b2028860d..decef19a0a2 100644
--- a/app/controllers/projects/environments_controller.rb
+++ b/app/controllers/projects/environments_controller.rb
@@ -31,10 +31,6 @@ class Projects::EnvironmentsController < Projects::ApplicationController
end
end
- def empty
- render :empty
- end
-
def folder
folder_environments = project.environments.where(environment_type: params[:id])
@environments = folder_environments.with_state(params[:scope] || :available)
@@ -124,6 +120,10 @@ class Projects::EnvironmentsController < Projects::ApplicationController
end
end
+ def empty
+ render :empty
+ end
+
def metrics
# Currently, this acts as a hint to load the metrics details into the cache
# if they aren't there already