Sha256: 417c03c38233fdb6dadeea985643d8f6ce44435cd081dec61897810ce616f684
Contents?: true
Size: 382 Bytes
Versions: 24
Compression:
Stored size: 382 Bytes
Contents
- if can?(:index, Video) = forge_menu_item item, forge_videos_path, :active => is_active("videos"), :submenu => can?(:create, Video) - if can?(:create, Video) %ul.forge_submenu{ :class => is_active(["videos"]) ? "#{item} active" : item } = link_to "New Video", new_forge_video_path, :class => ("active" if is_active(["videos"]) && params[:action] == "new") .spacer
Version data entries
24 entries across 24 versions & 1 rubygems