Class: Effective::SubscripterController

Inherits:
ApplicationController
  • Object
show all
Includes:
CrudController
Defined in:
app/controllers/effective/subscripter_controller.rb

Instance Method Summary collapse

Instance Method Details

#resourceObject



9
10
11
# File 'app/controllers/effective/subscripter_controller.rb', line 9

def resource
  @subscripter ||= Effective::Subscripter.new(current_user: current_user)
end

#subscripter_paramsObject

StrongParameters



14
15
16
# File 'app/controllers/effective/subscripter_controller.rb', line 14

def subscripter_params
  params.require(:effective_subscripter).permit!
end