blob: 0931cbd0b9ad8a096a8f2b0015d6166c64ad4fe1 (
plain) (
tree)
|
|
class BlogController < ApplicationController
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
|