blob: 2efeaa4a9e1aa6dd20bb9694bb6647d92dbed443 (
plain) (
tree)
|
|
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
|