Method: ActionController::Base.inherited_with_facebooker
- Defined in:
- lib/facebooker/rails/extensions/action_controller.rb
.inherited_with_facebooker(subclass) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/facebooker/rails/extensions/action_controller.rb', line 3 def self.inherited_with_facebooker(subclass) inherited_without_facebooker(subclass) if subclass.to_s == "ApplicationController" subclass.send(:include,Facebooker::Rails::Controller) subclass.helper Facebooker::Rails::Helpers end end |