Sha256: 5343c389a73c30e98e9b5f22a14457d899decd6f415eaeb68806570620e8accf

Contents?: true

Size: 304 Bytes

Versions: 5

Compression:

Stored size: 304 Bytes

Contents

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

  def render(*_attributes); end
end

class PostsController < TestController
  include ActionControllerTweaks

  def index
    head(204)

    set_no_cache if params[:no_cache]
  end
end

class NotController
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
action_controller_tweaks-0.3.6 spec/fixtures/controllers.rb
action_controller_tweaks-0.3.5 spec/fixtures/controllers.rb
action_controller_tweaks-0.3.4 spec/fixtures/controllers.rb
action_controller_tweaks-0.3.3 spec/fixtures/controllers.rb
action_controller_tweaks-0.3.2 spec/fixtures/controllers.rb