Class: KingsmanController
- Inherits:
-
Object
- Object
- KingsmanController
- Includes:
- Kingsman::Controllers::ScopedViews
- Defined in:
- app/controllers/kingsman_controller.rb
Direct Known Subclasses
Kingsman::ConfirmationsController, Kingsman::OmniauthCallbacksController, Kingsman::PasswordsController, Kingsman::RegistrationsController, Kingsman::SessionsController, Kingsman::UnlocksController
Instance Method Summary collapse
-
#build_resource(hash = {}) ⇒ Object
Generic methods below.
Instance Method Details
#build_resource(hash = {}) ⇒ Object
Generic methods below
8 9 10 |
# File 'app/controllers/kingsman_controller.rb', line 8 def build_resource(hash = {}) self.resource = resource_class.new(hash) end |