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.62 config/initializers/mailer_previews.rb
renalware-core-2.0.61 config/initializers/mailer_previews.rb
renalware-core-2.0.60 config/initializers/mailer_previews.rb
renalware-core-2.0.58 config/initializers/mailer_previews.rb
renalware-core-2.0.57 config/initializers/mailer_previews.rb
renalware-core-2.0.56 config/initializers/mailer_previews.rb
renalware-core-2.0.55 config/initializers/mailer_previews.rb
renalware-core-2.0.54 config/initializers/mailer_previews.rb
renalware-core-2.0.53 config/initializers/mailer_previews.rb
renalware-core-2.0.52 config/initializers/mailer_previews.rb
renalware-core-2.0.51 config/initializers/mailer_previews.rb
renalware-core-2.0.50 config/initializers/mailer_previews.rb
renalware-core-2.0.48 config/initializers/mailer_previews.rb
renalware-core-2.0.47 config/initializers/mailer_previews.rb
renalware-core-2.0.46 config/initializers/mailer_previews.rb
renalware-core-2.0.45 config/initializers/mailer_previews.rb
renalware-core-2.0.44 config/initializers/mailer_previews.rb
renalware-core-2.0.43 config/initializers/mailer_previews.rb
renalware-core-2.0.42 config/initializers/mailer_previews.rb
renalware-core-2.0.41 config/initializers/mailer_previews.rb