Sha256: a78d30a0703bc51445f3b951f9c6668610eb680eb1c6f29c1b58f8a58b736aad

Contents?: true

Size: 397 Bytes

Versions: 13

Compression:

Stored size: 397 Bytes

Contents

%h1 Someone's Blog

- @blogs.each do |blog|
  #ad-top
    / Insert 468x60 banner advertisement
  .entry
    .entry-title= link_to blog.title, resource_url(blog)

    .date Posted on #{blog.created_at}
    .blog_body!= blog.body
    .comments
      %a{:href => "#"} 3 comments


- if current_user.try(:id) == @user.id
  = link_to 'New Blog Post', new_user_blog_path(@user)

= will_paginate @blogs

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
wheels-0.0.17 app/views/blogs/index.html.haml
wheels-0.0.16 app/views/blogs/index.html.haml
wheels-0.0.15 app/views/blogs/index.html.haml
wheels-0.0.14 app/views/blogs/index.html.haml
wheels-0.0.13 app/views/blogs/index.html.haml
wheels-0.0.11 app/views/blogs/index.html.haml
wheels-0.0.10 app/views/blogs/index.html.haml
wheels-0.0.9 app/views/blogs/index.html.haml
wheels-0.0.8 app/views/blogs/index.html.haml
wheels-0.0.6 app/views/blogs/index.html.haml
wheels-0.0.5 app/views/blogs/index.html.haml
wheels-0.0.4 app/views/blogs/index.html.haml
wheels-0.0.3 app/views/blogs/index.html.haml