Sha256: 9bca20d5b71663fd75b8e494ed5acdde755d781ad963ca45aeef2a227911e6c6

Contents?: true

Size: 344 Bytes

Versions: 1

Compression:

Stored size: 344 Bytes

Contents

class EngineAssets::AssetsController < ApplicationController
  unloadable

  layout        nil
  before_filter :expire, :set_headers
  after_filter  :cache


  private

  def expire
    # TODO
    # expire_page :controller => self, :action => "all"
  end

  def cache
    cache_page
  end

  def set_headers
    # optionally override
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
engine-assets-0.1.0 app/controllers/engine_assets/assets_controller.rb