Sha256: 90b4bec454b7c509c369c67a072a0d404bc97d844ad686d18f949f5a824896a5

Contents?: true

Size: 121 Bytes

Versions: 4

Compression:

Stored size: 121 Bytes

Contents

if defined? ActionController::Base
  ActionController::Base.class_eval do
    include BeforeActions::Controller
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
before_actions-2.0.3 lib/before_actions/monkey_patching.rb
before_actions-2.0.2 lib/before_actions/monkey_patching.rb
before_actions-2.0.1 lib/before_actions/monkey_patching.rb
before_actions-2.0.0 lib/before_actions/monkey_patching.rb