Top Level Namespace

Defined Under Namespace

Modules: ActionDispatch, Epilog, Rails

Instance Method Summary collapse

Instance Method Details

#prepend_controller_extObject



50
51
52
53
54
55
# File 'lib/epilog/rails/ext/action_controller.rb', line 50

def prepend_controller_ext
  ActionController::Base.prepend(Epilog::ActionControllerExt)
  return unless defined? ActionController::API

  ActionController::API.prepend(Epilog::ActionControllerExt)
end