Permalink
Browse files

Removed unused helpers to clean namespace

Because helpers and decorators is customizable to the user' theme. It's
best for Ecrire to limit the number of predefined helpers so user don't
screw things up. Documentation should say that ApplicationHelper and
OpenGraphHelper are protected namespace.

Or maybe raise an exception if someone tries to use those namespace?
  • Loading branch information...
1 parent 5383843 commit ffcdb9dd5eb9f306334579aebb3aed87c7381ace @pothibo committed Feb 12, 2014
Showing with 0 additions and 11 deletions.
  1. +0 −2 app/helpers/images_helper.rb
  2. +0 −2 app/helpers/partials_helper.rb
  3. +0 −5 app/helpers/posts_helper.rb
  4. +0 −2 app/helpers/splits_helper.rb
View
2 app/helpers/images_helper.rb
@@ -1,2 +0,0 @@
-module ImagesHelper
-end
View
2 app/helpers/partials_helper.rb
@@ -1,2 +0,0 @@
-module PartialsHelper
-end
View
5 app/helpers/posts_helper.rb
@@ -1,5 +0,0 @@
-module PostsHelper
- def suggested_posts(current_post)
- @posts ||= Post.published.limit(3).order("published_at DESC").without(current_post)
- end
-end
View
2 app/helpers/splits_helper.rb
@@ -1,2 +0,0 @@
-module SplitsHelper
-end

0 comments on commit ffcdb9d

Please sign in to comment.