summaryrefslogtreecommitdiff
path: root/app/controllers/dashboard/application_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/dashboard/application_controller.rb')
-rw-r--r--app/controllers/dashboard/application_controller.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/dashboard/application_controller.rb b/app/controllers/dashboard/application_controller.rb
index 9d3d1c23c28..9fb5c525425 100644
--- a/app/controllers/dashboard/application_controller.rb
+++ b/app/controllers/dashboard/application_controller.rb
@@ -1,6 +1,10 @@
class Dashboard::ApplicationController < ApplicationController
+ include ControllerWithCrossProjectAccessCheck
+
layout 'dashboard'
+ requires_cross_project_access
+
private
def projects