Class: Dorsale::ApplicationController

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

Instance Method Summary collapse

Instance Method Details

#modelObject

Raises:

  • (NotImplementedError)


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

def model
  raise NotImplementedError
end

#scopeObject



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

def scope
  policy_scope(model)
end