Module: ABPlugin::Adapters::Rails
- Defined in:
- lib/a_b_plugin/adapters/rails.rb
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/a_b_plugin/adapters/rails.rb', line 5 def self.included(klass) if defined?(::ApplicationController) raise 'Please require a_b_plugin before all other plugins.' end klass.prepend_before_filter :a_b_plugin_before_filter end |