Skip to content

Commit e613544

Browse files
committed
Fixed indentation issue in IndexAsBlog docs
1 parent 3a4d4db commit e613544

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.yardopts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ lib/**/*.rb
44
--asset docs/images:images
55
-
66
README.rdoc
7-
CHANGELOG.rdoc
7+
CHANGELOG.md
88
docs/**/*.md

docs/3-index-pages/index-as-blog.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
Render your index page as a set of posts. The post has two main options:
66
title and body.
77

8-
index :as => :blog do
9-
title :my_title # Calls #my_title on each resource
10-
body :my_body # Calls #my_body on each resource
11-
end
8+
index :as => :blog do
9+
title :my_title # Calls #my_title on each resource
10+
body :my_body # Calls #my_body on each resource
11+
end
1212

1313
## Post Title
1414

lib/active_admin/views/index_as_blog.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ module Views
66
# Render your index page as a set of posts. The post has two main options:
77
# title and body.
88
#
9-
# index :as => :blog do
10-
# title :my_title # Calls #my_title on each resource
11-
# body :my_body # Calls #my_body on each resource
12-
# end
9+
# index :as => :blog do
10+
# title :my_title # Calls #my_title on each resource
11+
# body :my_body # Calls #my_body on each resource
12+
# end
1313
#
1414
# == Post Title
1515
#

0 commit comments

Comments
 (0)