aboutsummaryrefslogblamecommitdiffstats
path: root/app/controllers/refinery/blog/base_controller.rb
blob: 919c18023f926e7609ff2da320701d3cdd7b6535 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11





                                                  
                                   



                                                         


                                                          


       
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