Sha256: c3b4f13ac4167f7f86c40ffbf978429c1fc97f9b902a9c19c4170cb301d7fc2b
Contents?: true
Size: 387 Bytes
Versions: 4
Compression:
Stored size: 387 Bytes
Contents
- if can?(:index, Event) = tenon_menu_item item, events_path, :active => is_active("events"), :submenu => can?(:create, Event) - if can?(:create, Event) %ul.tenon_submenu{ :class => is_active(["events"]) ? "#{item} active" : item } = link_to t('tenon.events.new_event'), new_event_path, :class => ("active" if is_active(["events"]) && params[:action] == "new") .spacer
Version data entries
4 entries across 4 versions & 1 rubygems