blob: 6bec0a5ae9eba36a7994d1b02ba3b84bd2d9de84 (
plain) (
tree)
|
|
module Refinery
class BlogController < ::ApplicationController
helper :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
|