summaryrefslogtreecommitdiff
path: root/app/controllers/ci/helps_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/ci/helps_controller.rb')
-rw-r--r--app/controllers/ci/helps_controller.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/controllers/ci/helps_controller.rb b/app/controllers/ci/helps_controller.rb
new file mode 100644
index 00000000000..a1ee4111614
--- /dev/null
+++ b/app/controllers/ci/helps_controller.rb
@@ -0,0 +1,16 @@
+module Ci
+ class HelpsController < Ci::ApplicationController
+ skip_filter :check_config
+
+ def show
+ end
+
+ def oauth2
+ if valid_config?
+ redirect_to ci_root_path
+ else
+ render layout: 'ci/empty'
+ end
+ end
+ end
+end