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

#filters_jarObject



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

def filters_jar
  cookies
end

#modelObject

Raises:

  • (NotImplementedError)


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

def model
  raise NotImplementedError
end

#scopeObject



28
29
30
# File 'app/controllers/dorsale/application_controller.rb', line 28

def scope
  policy_scope(model)
end