aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/refinery/blog/blog_controller.rb
blob: 54a8b037d9ecbe88a674937f6999449bee0d1425 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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