Sha256: ed9fb60a960d548e688787e06118ae2817581a25e6e42982525e70be282563f8
Contents?: true
Size: 924 Bytes
Versions: 17
Compression:
Stored size: 924 Bytes
Contents
module PostmanMta class ApplicationController < ActionController::Metal abstract! MODULES = [ AbstractController::Rendering, ActionController::UrlFor, ActionController::Redirecting, ActionController::Renderers::All, ActionController::ConditionalGet, ActionController::ForceSSL, 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
17 entries across 17 versions & 1 rubygems