Sha256: 440e78443ce673eae4090aa7bc71c5879aa206d152a9c0201ba3ad168ea5ba65
Contents?: true
Size: 377 Bytes
Versions: 4
Compression:
Stored size: 377 Bytes
Contents
- if can?(:index, Page) = tenon_menu_item item, pages_path, :active => is_active("pages"), :submenu => can?(:create, Page) - if can?(:create, Page) %ul.tenon_submenu{ :class => is_active(["pages"]) ? "#{item} active" : item } = link_to t('tenon.pages.new_page'), new_page_path, :class => ("active" if is_active(["pages"]) && params[:action] == "new") .spacer
Version data entries
4 entries across 4 versions & 1 rubygems