Sha256: abdf6f665c2e126350d5544050f5a58f0668d0f7034f3023790778ee155ec68f

Contents?: true

Size: 353 Bytes

Versions: 2

Compression:

Stored size: 353 Bytes

Contents

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(Refinery::Blog.page_url)
        end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
refinerycms-blog-2.1.0 app/controllers/refinery/blog/blog_controller.rb
refinerycms-blog-2.0.5 app/controllers/refinery/blog/blog_controller.rb