lib/middleman-blog-similar/helpers.rb in middleman-blog-similar-1.0.0 vs lib/middleman-blog-similar/helpers.rb in middleman-blog-similar-1.1.0
- old
+ new
@@ -1,15 +1,9 @@
-module Middleman
- module Blog
- module Similar
- module Helpers
- def similar_articles
- if is_blog_article?
- current_article.similar_articles
- else
- []
- end
- end
- end
+module Middleman::Blog::Similar::Helpers
+ def similar_articles
+ if is_blog_article?
+ current_article.similar_articles
+ else
+ []
end
end
end