Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Edwards-Jones <jedwardsjones@gitlab.com>2019-05-13 11:50:23 +0300
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2019-05-15 13:36:50 +0300
commitbedb9a3e6d644e4d8c71f92038ce31c9383e0887 (patch)
tree81f13a4061a2bd00518a975e3e0b11c4c0a3bab3 /app/controllers/projects/serverless/functions_controller.rb
parent224c01033fa8eafe53dd1b1d2dfdd90605a000bb (diff)
Avoid passing not_found_or_authorized_proc around
Since this needs to be called on every find_routable!(Project, ... we can instead move it to a RoutableActions check.
Diffstat (limited to 'app/controllers/projects/serverless/functions_controller.rb')
-rw-r--r--app/controllers/projects/serverless/functions_controller.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/controllers/projects/serverless/functions_controller.rb b/app/controllers/projects/serverless/functions_controller.rb
index 8c3d141c888..79030da64d3 100644
--- a/app/controllers/projects/serverless/functions_controller.rb
+++ b/app/controllers/projects/serverless/functions_controller.rb
@@ -3,8 +3,6 @@
module Projects
module Serverless
class FunctionsController < Projects::ApplicationController
- include ProjectUnauthorized
-
before_action :authorize_read_cluster!
def index