Class: Effective::SubscripterController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Effective::SubscripterController
- Includes:
- CrudController
- Defined in:
- app/controllers/effective/subscripter_controller.rb
Instance Method Summary collapse
- #resource ⇒ Object
-
#subscripter_params ⇒ Object
StrongParameters.
Instance Method Details
#resource ⇒ Object
11 12 13 |
# File 'app/controllers/effective/subscripter_controller.rb', line 11 def resource @subscripter ||= Effective::Subscripter.new(current_user: current_user) end |
#subscripter_params ⇒ Object
StrongParameters
16 17 18 |
# File 'app/controllers/effective/subscripter_controller.rb', line 16 def subscripter_params params.require(:effective_subscripter).permit! end |