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
9 10 11 |
# File 'app/controllers/effective/subscripter_controller.rb', line 9 def resource @subscripter ||= Effective::Subscripter.new(current_user: current_user) end |
#subscripter_params ⇒ Object
StrongParameters
14 15 16 |
# File 'app/controllers/effective/subscripter_controller.rb', line 14 def subscripter_params params.require(:effective_subscripter).permit! end |