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



11
12
13
# File 'app/controllers/effective/subscripter_controller.rb', line 11

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

#subscripter_paramsObject

StrongParameters



16
17
18
# File 'app/controllers/effective/subscripter_controller.rb', line 16

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