Sha256: 5079dfd3f532a50b4fe042c6ac7f4a765d11394f680209dc328abeba47ec8cfc
Contents?: true
Size: 1.2 KB
Versions: 7
Compression:
Stored size: 1.2 KB
Contents
= render '/admin/cms/partials/navigation_before' %ul.navigation - if admin_page? - Cms::Fortress.configuration.settings_resources.each do |resource| - if can? :view, "settings.#{resource[:name]}" - path = begin; eval(resource[:path]); rescue; end - if path = leftnav_item t(resource[:title]), path = render 'cms/fortress/admin/left_settings_nav' - elsif design_page? - Cms::Fortress.configuration.design_resources.each do |resource| - if can? :view, "designs.#{resource[:name]}" - path = begin; eval(resource[:path]);rescue;end - if path = leftnav_item t(resource[:title]), path = render 'cms/fortress/admin/left_designs_nav' - elsif content_page? - Cms::Fortress.configuration.content_resources.each do |resource| - if can? :view, "contents.#{resource[:name]}" - path = begin; eval(resource[:path]);rescue;end - if path = leftnav_item t(resource[:title]), path = render 'cms/fortress/admin/left_contents_nav' = cms_hook :navigation - else = render 'cms/fortress/admin/left_nav' = render '/admin/cms/partials/navigation_inner' = render '/admin/cms/partials/navigation_after'
Version data entries
7 entries across 7 versions & 1 rubygems