Skip to content

Commit

Permalink
Fixed indentation issue in IndexAsBlog docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gregbell committed Aug 25, 2011
1 parent 3a4d4db commit e613544
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .yardopts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ lib/**/*.rb
--asset docs/images:images
-
README.rdoc
CHANGELOG.rdoc
CHANGELOG.md
docs/**/*.md
8 changes: 4 additions & 4 deletions docs/3-index-pages/index-as-blog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
Render your index page as a set of posts. The post has two main options:
title and body.

index :as => :blog do
title :my_title # Calls #my_title on each resource
body :my_body # Calls #my_body on each resource
end
index :as => :blog do
title :my_title # Calls #my_title on each resource
body :my_body # Calls #my_body on each resource
end

## Post Title

Expand Down
8 changes: 4 additions & 4 deletions lib/active_admin/views/index_as_blog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ module Views
# Render your index page as a set of posts. The post has two main options:
# title and body.
#
# index :as => :blog do
# title :my_title # Calls #my_title on each resource
# body :my_body # Calls #my_body on each resource
# end
# index :as => :blog do
# title :my_title # Calls #my_title on each resource
# body :my_body # Calls #my_body on each resource
# end
#
# == Post Title
#
Expand Down

0 comments on commit e613544

Please sign in to comment.