Commit 60733efab37857932d43219ccbb6092cf22f7f89
1 parent
c97d1f56
Exists in
master
and in
29 other branches
Enhancing blog method
(ActionItem1941)
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/blog.rb
@@ -73,7 +73,7 @@ class Blog < Folder | @@ -73,7 +73,7 @@ class Blog < Folder | ||
73 | alias :display_posts_in_current_language? :display_posts_in_current_language | 73 | alias :display_posts_in_current_language? :display_posts_in_current_language |
74 | 74 | ||
75 | def empty? | 75 | def empty? |
76 | - posts.compact.empty? | 76 | + posts.empty? |
77 | end | 77 | end |
78 | 78 | ||
79 | end | 79 | end |