Sha256: 1e3d64e8a7ea98c82eaee0a170ca0927fd7024ebae35bbbc5f4b52a4d5ea4f3b

Contents?: true

Size: 214 Bytes

Versions: 3

Compression:

Stored size: 214 Bytes

Contents

= link_to 'New page', new_page_path if can? :create, Page

- @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

3 entries across 3 versions & 1 rubygems

Version Path
wheels-0.0.21 app/views/pages/index.html.haml
wheels-0.0.20 app/views/pages/index.html.haml
wheels-0.0.19 app/views/pages/index.html.haml