Sha256: 447b909b3a315268146d24435fb580923bc50591de6418f148181c82f1270863

Contents?: true

Size: 303 Bytes

Versions: 2

Compression:

Stored size: 303 Bytes

Contents

module Spotlight
  class FeaturePagesController < PagesController

    private
    def page_model
      :feature_page
    end
    def cast_page_instance_variable
      if @feature_pages
        @pages = @feature_pages
      elsif @feature_page
        @page = @feature_page
      end
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blacklight-spotlight-0.0.2 app/controllers/spotlight/feature_pages_controller.rb
blacklight-spotlight-0.0.1 app/controllers/spotlight/feature_pages_controller.rb