Sha256: 3f2688a184e387cb2069da2804f3c7b3614a5d66367f6c041dbe0c0f65d0adc2
Contents?: true
Size: 529 Bytes
Versions: 2
Compression:
Stored size: 529 Bytes
Contents
module NoNotifierNeeded class Railtie < Rails::Railtie initializer "Include code in controller" do ActiveSupport.on_load(:action_controller) do #::ActionMailer::Base.send(:include, ActionView::Helpers::) ::ActionMailer::Base.send(:include, Rails.application.routes.url_helpers) # brings ActionDispatch::Routing::UrlFor ::ActionMailer::Base.send(:include, ActionView::Helpers::UrlHelper) ::ActionMailer::Base.send(:include, ActionView::Helpers::TextHelper) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
no_notifier_needed-0.1.1 | lib/no_notifier_needed/railtie.rb |
no_notifier_needed-0.1.0 | lib/no_notifier_needed/railtie.rb |