aboutsummaryrefslogblamecommitdiffstats
path: root/app/controllers/blog_controller.rb
blob: f51d5bb869eeb3d5c99027ad88fcd5532446d41a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
                                            
 
                    











                                                     
   
class BlogController < ApplicationController

  helper :blog_posts
  before_filter :find_page, :find_all_blog_categories

protected

  def find_page
    @page = Page.find_by_link_url("/blog")
  end

  def find_all_blog_categories
    @blog_categories = BlogCategory.all
  end

end