diff options
Diffstat (limited to 'app/controllers/refinery/blog/blog_controller.rb')
-rw-r--r-- | app/controllers/refinery/blog/blog_controller.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/controllers/refinery/blog/blog_controller.rb b/app/controllers/refinery/blog/blog_controller.rb new file mode 100644 index 0000000..54a8b03 --- /dev/null +++ b/app/controllers/refinery/blog/blog_controller.rb @@ -0,0 +1,17 @@ +module Refinery + module Blog + class BlogController < ::ApplicationController + + include ControllerHelper + + helper :'refinery/blog/posts' + before_filter :find_page, :find_all_blog_categories + + protected + + def find_page + @page = Refinery::Page.find_by_link_url("/blog") + end + end + end +end |