Home

Pages Classes Methods

    Pages

    • LICENSE
    • README
    • README
    • Gemfile
    • README
    • USAGE
    • Gemfile
    • _entry.haml
    • _form.html.haml
    • edit.html.haml
    • index.html.haml
    • new.html.haml
    • show.html.haml
    • _form.html.haml
    • _index.html.haml
    • _post.html.haml
    • _post2.haml
    • edit.haml
    • _form.html.haml
    • edit.html.haml
    • index.html.haml
    • new.html.haml
    • show.html.haml
    • _footer.html.haml
    • _header.html.haml
    • _ice.haml
    • _latest.haml
    • _login.html.haml
    • _menu.html.haml
    • _msn.haml
    • _sidebar.html.haml
    • application.html.haml
    • _ice.haml
    • _form.html.haml
    • edit.html.haml
    • index.html.haml
    • new.html.haml
    • show.html.haml
    • _form.html.haml
    • edit.html.haml
    • index.html.haml
    • new.html.haml
    • show.html.haml
    • _form.html.haml
    • edit.html.haml
    • index.html.haml
    • new.html.haml
    • show.html.haml
    • _form.html.haml
    • index.html.haml
    • show.html.haml
    • index.haml
    • roles.haml
    • _ice.haml
    • _ice.haml
    • _ice.haml
    • _ice.haml
    • squeezer.css
    • application.js
    • jquery-ui.js
    • jquery-ui.min.js
    • jquery.cleditor.min.js
    • jquery.js
    • jquery.layout.min-1.2.0.js
    • jquery.min.js
    • rails.js
    • jquery.cleditor.css
    • _ice.haml
    • lagota.css
    • _ice.haml
    • _ice.haml
    • _ice.haml
    • _ice.haml
    • squeezer.css
    • jquery-ui-1.8.5.custom.css
    • @post.each do |post| post.post{:post_id=>post.id , :data_time=>post.created_at.to_i }

      %div.user
        -if post.user
          = post.user.username
        -else
          =post.name
      = post.created_at
      - if can? :update, post 
        = link_to 'Editar', edit_post_path(post)
      - if can? :destroy, post
        = link_to 'Destroy', post, :confirm => 'Are you sure?', :method => :delete
      %div.entry
        = post.body

    Validate

    Generated by RDoc 6.4.0.

    Based on Darkfish by Michael Granger.