Sha256: b0628d442f620835d2ce085bc673d146420fd370d6e07c442ef403d26e749640
Contents?: true
Size: 392 Bytes
Versions: 79
Compression:
Stored size: 392 Bytes
Contents
- if can?(:index, Gallery) = tenon_menu_item item, galleries_path, :active => is_active("galleries"), :submenu => can?(:create, Gallery) - if can?(:create, Gallery) %ul.tenon_submenu{ :class => is_active(["galleries"]) ? "#{item} active" : item } = link_to "New Gallery", new_gallery_path, :class => ("active" if is_active(["galleries"]) && params[:action] == "new") .spacer
Version data entries
79 entries across 79 versions & 1 rubygems