refinerycms-blog/app/controllers/refinery/blog/blog_controller.rb
2012-01-17 16:56:24 +13:00

17 lines
337 B
Ruby

module Refinery
module Blog
class BlogController < ::ApplicationController
include ControllerHelper
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
end
end
end