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

Version Path
wheels-0.0.48 app/views/pages/index.html.haml
wheels-0.0.47 app/views/pages/index.html.haml
wheels-0.0.46 app/views/pages/index.html.haml
wheels-0.0.45 app/views/pages/index.html.haml
wheels-0.0.44 app/views/pages/index.html.haml
wheels-0.0.43 app/views/pages/index.html.haml
wheels-0.0.42 app/views/pages/index.html.haml
wheels-0.0.41 app/views/pages/index.html.haml
wheels-0.0.40 app/views/pages/index.html.haml
wheels-0.0.39 app/views/pages/index.html.haml
wheels-0.0.38 app/views/pages/index.html.haml
wheels-0.0.37 app/views/pages/index.html.haml
wheels-0.0.36 app/views/pages/index.html.haml
wheels-0.0.35 app/views/pages/index.html.haml
wheels-0.0.34 app/views/pages/index.html.haml
wheels-0.0.33 app/views/pages/index.html.haml
wheels-0.0.32 app/views/pages/index.html.haml
wheels-0.0.31 app/views/pages/index.html.haml
wheels-0.0.30 app/views/pages/index.html.haml
wheels-0.0.29 app/views/pages/index.html.haml