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

               

                                                  

                              
                                   



                                                         
                     
                                                                              
           


       
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 => Refinery::Blog.page_url)
        end
    end
  end
end