Class: Dorsale::ApplicationController

Inherits:
ApplicationController
  • Object
show all
Includes:
BackUrlConcern, Pundit
Defined in:
app/controllers/dorsale/application_controller.rb

Instance Method Summary collapse

Instance Method Details

#modelObject

Raises:

  • (NotImplementedError)


16
17
18
# File 'app/controllers/dorsale/application_controller.rb', line 16

def model
  raise NotImplementedError
end

#scopeObject



22
23
24
# File 'app/controllers/dorsale/application_controller.rb', line 22

def scope
  policy_scope(model)
end