aboutsummaryrefslogblamecommitdiffstats
path: root/app/controllers/refinery/blog_controller.rb
blob: cbafdebdd1b655cad77a2cc31bbc285054025b9d (plain) (tree)
1
2
3
4


                                                
                                 













                                                       
module Refinery
  class BlogController < ::ApplicationController

    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

    def find_all_blog_categories
      @blog_categories = Refinery::BlogCategory.all
    end

  end
end