Browse files

Fixed indentation issue in IndexAsBlog docs

  • Loading branch information...
1 parent 3a4d4db commit e6135441b27ade0e8e31c7199448555f8aeb77ea @gregbell gregbell committed Aug 25, 2011
Showing with 9 additions and 9 deletions.
  1. +1 −1 .yardopts
  2. +4 −4 docs/3-index-pages/index-as-blog.md
  3. +4 −4 lib/active_admin/views/index_as_blog.rb
View
2 .yardopts
@@ -4,5 +4,5 @@ lib/**/*.rb
--asset docs/images:images
-
README.rdoc
-CHANGELOG.rdoc
+CHANGELOG.md
docs/**/*.md
View
8 docs/3-index-pages/index-as-blog.md
@@ -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
View
8 lib/active_admin/views/index_as_blog.rb
@@ -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
#

0 comments on commit e613544

Please sign in to comment.