Class: Dorsale::ApplicationController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Dorsale::ApplicationController
show all
- Includes:
- BackUrlConcern, Pundit
- Defined in:
- app/controllers/dorsale/application_controller.rb
Instance Method Summary
collapse
Instance Method Details
#model ⇒ Object
16
17
18
|
# File 'app/controllers/dorsale/application_controller.rb', line 16
def model
raise NotImplementedError
end
|
#scope ⇒ Object
22
23
24
|
# File 'app/controllers/dorsale/application_controller.rb', line 22
def scope
policy_scope(model)
end
|