Commit 60733efab37857932d43219ccbb6092cf22f7f89

Authored by Daniela Feitosa
1 parent c97d1f56

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 73 alias :display_posts_in_current_language? :display_posts_in_current_language
74 74  
75 75 def empty?
76   - posts.compact.empty?
  76 + posts.empty?
77 77 end
78 78  
79 79 end
... ...