Class: ActionDispatch::Routing::Mapper
- Inherits:
-
Object
- Object
- ActionDispatch::Routing::Mapper
- 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
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. openshift_console_routes openshift_account_routes unless (Array(opts[:skip]).include? :account || Console.config.disable_account) root :to => 'console_index#index', :via => :get, :as => :console end |