summaryrefslogtreecommitdiff
path: root/app/controllers/sandbox_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/sandbox_controller.rb')
-rw-r--r--app/controllers/sandbox_controller.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/controllers/sandbox_controller.rb b/app/controllers/sandbox_controller.rb
new file mode 100644
index 00000000000..a87c2b38e60
--- /dev/null
+++ b/app/controllers/sandbox_controller.rb
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+class SandboxController < ApplicationController # rubocop:disable Gitlab/NamespacedClass
+ skip_before_action :authenticate_user!
+
+ feature_category :not_owned
+
+ def mermaid
+ render layout: false
+ end
+end