Sha256: 2686b41b1ca9f03ea0f78b243f97305c62537ea4f0d3dba35ba7f516bf59fac7
Contents?: true
Size: 391 Bytes
Versions: 24
Compression:
Stored size: 391 Bytes
Contents
- if can?(:index, Banner) = forge_menu_item item, forge_banners_path, :active => is_active("banners"), :submenu => can?(:create, Banner) - if can?(:create, Banner) %ul.forge_submenu{ :class => is_active(["banners"]) ? "#{item} active" : item } = link_to "New Banner", new_forge_banner_path, :class => ("active" if is_active(["banners"]) && params[:action] == "new") .spacer
Version data entries
24 entries across 24 versions & 1 rubygems