summaryrefslogtreecommitdiff
path: root/app/controllers/ci/helps_controller.rb
blob: a1ee4111614c16fa612025790d4bf1cffc4891bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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