Sha256: 0033d4563a37c333eb3d42b39c164653e95d405275c72eb82ba02d109d4d3d24

Contents?: true

Size: 178 Bytes

Versions: 142

Compression:

Stored size: 178 Bytes

Contents

# frozen_string_literal: true

# Enable mailer previews in Staging
#
if Rails.env.staging?
  class ::Rails::MailersController
    def local_request?
      true
    end
  end
end

Version data entries

142 entries across 142 versions & 1 rubygems

Version Path
renalware-core-2.0.104 config/initializers/mailer_previews.rb
renalware-core-2.0.103 config/initializers/mailer_previews.rb
renalware-core-2.0.102 config/initializers/mailer_previews.rb
renalware-core-2.0.101 config/initializers/mailer_previews.rb
renalware-core-2.0.100 config/initializers/mailer_previews.rb
renalware-core-2.0.99 config/initializers/mailer_previews.rb
renalware-core-2.0.98 config/initializers/mailer_previews.rb
renalware-core-2.0.97 config/initializers/mailer_previews.rb
renalware-core-2.0.96 config/initializers/mailer_previews.rb
renalware-core-2.0.95 config/initializers/mailer_previews.rb
renalware-core-2.0.94 config/initializers/mailer_previews.rb
renalware-core-2.0.93 config/initializers/mailer_previews.rb
renalware-core-2.0.92 config/initializers/mailer_previews.rb
renalware-core-2.0.91 config/initializers/mailer_previews.rb
renalware-core-2.0.90 config/initializers/mailer_previews.rb
renalware-core-2.0.89 config/initializers/mailer_previews.rb
renalware-core-2.0.88 config/initializers/mailer_previews.rb
renalware-core-2.0.87 config/initializers/mailer_previews.rb
renalware-core-2.0.86 config/initializers/mailer_previews.rb
renalware-core-2.0.85 config/initializers/mailer_previews.rb