aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/blog
diff options
context:
space:
mode:
authorJoe Sak <joe@joesak.com>2011-06-23 09:43:53 -0500
committerJoe Sak <joe@joesak.com>2011-06-23 09:43:53 -0500
commit787a0916b1514a7b904f5653d0c2810aab4ffa94 (patch)
treefc747e8f06428af8d057f1666082750f5d603811 /app/views/blog
parente906ed2eca96a87b737052d55ef635ce60fbffdc (diff)
parent767346b6941dbdff3aa2ef1f58a87429597da212 (diff)
downloadrefinerycms-blog-787a0916b1514a7b904f5653d0c2810aab4ffa94.tar.gz
refinerycms-blog-787a0916b1514a7b904f5653d0c2810aab4ffa94.tar.bz2
refinerycms-blog-787a0916b1514a7b904f5653d0c2810aab4ffa94.zip
Merge branch 'custom_teasers' of https://github.com/wikyd/refinerycms-blog into wikyd-custom-teasers
Diffstat (limited to 'app/views/blog')
-rw-r--r--app/views/blog/shared/_post.html.erb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/blog/shared/_post.html.erb b/app/views/blog/shared/_post.html.erb
index 00e5d23..4750ef8 100644
--- a/app/views/blog/shared/_post.html.erb
+++ b/app/views/blog/shared/_post.html.erb
@@ -21,9 +21,7 @@
</section>
</header>
<section class='clearfix'>
- <%= truncate(post.body,
- :length => RefinerySetting.find_or_set(:blog_post_teaser_length, 250),
- :preserve_html_tags => true) %>
+ <%= blog_post_teaser(post) %>
</section>
<footer>
<p>