Sha256: 03da141db73d362af1cabeadfc93f4526c83d02f33246d01316b86dcff82a6c6
Contents?: true
Size: 889 Bytes
Versions: 1
Compression:
Stored size: 889 Bytes
Contents
module PostmanMta class ApplicationController < ActionController::Metal abstract! MODULES = [ AbstractController::Rendering, ActionController::UrlFor, ActionController::Redirecting, ActionController::Renderers::All, ActionController::ConditionalGet, AbstractController::Callbacks, ActionController::StrongParameters, # Append rescue at the bottom to wrap as much as possible. ActionController::Rescue, # Add instrumentations hooks at the bottom, to ensure they instrument # all the methods properly. ActionController::Instrumentation, # Params wrapper should come before instrumentation so they are # properly showed in logs ActionController::ParamsWrapper ].freeze MODULES.each do |mod| include mod end include Rails.application.routes.url_helpers end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
postman_mta-0.2.8 | app/controllers/postman_mta/application_controller.rb |