Class: Vario::ApplicationController

Inherits:
Object
  • Object
show all
Defined in:
app/controllers/vario/application_controller.rb

Direct Known Subclasses

LevelsController, SettingsController

Instance Method Summary collapse

Instance Method Details

#add_breadcrumbs(*args) ⇒ Object



7
8
9
# File 'app/controllers/vario/application_controller.rb', line 7

def add_breadcrumbs(*args)
  method(:add_breadcrumbs).super_method&.call(*args)
end


11
12
13
# File 'app/controllers/vario/application_controller.rb', line 11

def breadcrumb_settings_path(setting, options  = {})
  settings_path(options.merge(settable: setting.settable.to_sgid(for: 'Vario').to_s))
end