diff --git a/.yardopts b/.yardopts index 14515cdc918..8d068cf20f5 100644 --- a/.yardopts +++ b/.yardopts @@ -4,5 +4,5 @@ lib/**/*.rb --asset docs/images:images - README.rdoc -CHANGELOG.rdoc +CHANGELOG.md docs/**/*.md diff --git a/docs/3-index-pages/index-as-blog.md b/docs/3-index-pages/index-as-blog.md index 345cc55d6f3..a19cbfc1c68 100644 --- a/docs/3-index-pages/index-as-blog.md +++ b/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 diff --git a/lib/active_admin/views/index_as_blog.rb b/lib/active_admin/views/index_as_blog.rb index c4155f0d3ad..b7744a26e76 100644 --- a/lib/active_admin/views/index_as_blog.rb +++ b/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 #