Sha256: fd4aabc4fc42e89c62bd2db6fad75278ad5b80776f2eeea2d1844b74af8f7dd9
Contents?: true
Size: 524 Bytes
Versions: 26
Compression:
Stored size: 524 Bytes
Contents
= link_to 'New page', new_page_path if can? :create, Page = content_for :links do - @pages.each do |page| %li = link_to page.title, page - if can? :edit, @page = link_to '| Edit', edit_page_path(page) - if can? :manage, @page = link_to '| Access Ctrl', access_control_entries_path(:resource_class=>"Page", :resource_id=>page.id) - @pages.each do |page| %h1= link_to page.title, page = link_to "Edit", edit_page_path(page) if can? :edit, page .page_content!= page.body %hr/
Version data entries
26 entries across 26 versions & 1 rubygems