Class: ActionDispatch::Routing::Mapper

Inherits:
Object
  • Object
show all
Defined in:
lib/any_login/routes.rb

Instance Method Summary collapse

Instance Method Details

#mount_routes(options = {}) ⇒ Object



3
4
5
# File 'lib/any_login/routes.rb', line 3

def mount_routes(options = {})
  mount AnyLogin::Engine => '/any_login', :as => options[:as] || 'any_login'
end