aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/refinery/blog/base_controller.rb
blob: 7010283f7563aadfd80aa66ba3b6ed5d61311cfd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module Refinery
  module Blog
    class BaseController < ::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