Sha256: 1b4f2f03bd223187f134c73d671991ce61a2861df0abd94af6f18d060c70fb52
Contents?: true
Size: 526 Bytes
Versions: 1
Compression:
Stored size: 526 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[0..5000]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wheels-0.0.22 | app/views/pages/index.html.haml |