Sha256: 25a6b23cd997c4f1597fb5ef14c5cc3aeefbffd6fb9c2087f4cc463c1d8cb6d8
Contents?: true
Size: 370 Bytes
Versions: 79
Compression:
Stored size: 370 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 "New Event", new_event_path, :class => ("active" if is_active(["events"]) && params[:action] == "new") .spacer
Version data entries
79 entries across 79 versions & 1 rubygems