wheelhouse-blog 1.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/app/helpers/blog/blog_helper.rb +4 -0
- metadata +1 -1
@@ -2,4 +2,8 @@ module Blog::BlogHelper
|
|
2
2
|
def blog_post_tag_links(post)
|
3
3
|
post.tags.map { |tag| link_to(tag, post.blog.tag_path(tag), :title => "View all posts tagged #{tag}") }.join(', ').html_safe
|
4
4
|
end
|
5
|
+
|
6
|
+
def format_month(year, month)
|
7
|
+
"#{Date::MONTHNAMES[month]} #{year}"
|
8
|
+
end
|
5
9
|
end
|