Class: ActionDispatch::Routing::Mapper
- Inherits:
-
Object
- Object
- ActionDispatch::Routing::Mapper
- Defined in:
- lib/devise-ios-rails/rails/routes.rb
Instance Method Summary collapse
Instance Method Details
#devise_ios_rails_for(*resources) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/devise-ios-rails/rails/routes.rb', line 3 def devise_ios_rails_for(*resources) = resources. [:controllers] ||= {} [:controllers] = default_controllers.merge([:controllers]) devise_for(*[resources, ].flatten) end |