Sha256: de825d44bec374af667ea6583c96aed72100ed03518fe4605c7eff6eda8c79be

Contents?: true

Size: 277 Bytes

Versions: 4

Compression:

Stored size: 277 Bytes

Contents

class TestController < ActionController::Base
  include Rails.application.routes.url_helpers

  def render(*attributes); end
end

class PostsController < TestController
  include ActionControllerTweaks

  def index
    if params[:no_cache]
      set_no_cache
    end
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
action_controller_tweaks-0.3.1 spec/fixtures/controllers.rb
action_controller_tweaks-0.3.0 spec/fixtures/controllers.rb
action_controller_tweaks-0.2.0 spec/fixtures/controllers.rb
action_controller_tweaks-0.1 spec/fixtures/controllers.rb