Class: ActionDispatch::Routing::Mapper

Inherits:
Object
  • Object
show all
Includes:
ApplicationRedirector
Defined in:
lib/console/rails/app_redirector.rb,
lib/console/rails/routes.rb

Defined Under Namespace

Modules: ApplicationRedirector

Instance Method Summary collapse

Methods included from ApplicationRedirector

#app_redirect

Instance Method Details

#openshift_console(*args) ⇒ Object



4
5
6
7
8
9
# File 'lib/console/rails/routes.rb', line 4

def openshift_console(*args)
  opts = args.extract_options!
  openshift_console_routes
   unless (Array(opts[:skip]).include? :account || Console.config.)
  root :to => 'console_index#index', :via => :get, :as => :console
end