Class: Ez::Settings::NavCell
- Defined in:
- app/cells/ez/settings/nav_cell.rb
Constant Summary
Constants inherited from BaseCell
BaseCell::ACTIONS, BaseCell::CANCEL, BaseCell::GROUPS, BaseCell::INTERFACES, BaseCell::KEYS, BaseCell::LABEL, BaseCell::SAVE, BaseCell::SCOPE
Instance Method Summary collapse
Methods inherited from BaseCell
#controller, #css_for, #css_map, form, #group_link, #group_path, #i18n_group_label, #i18n_key_label, option
Methods included from RequestDispatcher
Instance Method Details
#nav_label ⇒ Object
3 4 5 |
# File 'app/cells/ez/settings/nav_cell.rb', line 3 def nav_label t(LABEL, scope: SCOPE, default: 'Settings') end |
#settings_link ⇒ Object
7 8 9 10 11 |
# File 'app/cells/ez/settings/nav_cell.rb', line 7 def settings_link link_to nav_label, interface.config.default_path, class: css_for(:nav_menu_item, dynamic: 'settings/') end |