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.84 config/initializers/mailer_previews.rb
renalware-core-2.0.83 config/initializers/mailer_previews.rb
renalware-core-2.0.82 config/initializers/mailer_previews.rb
renalware-core-2.0.81 config/initializers/mailer_previews.rb
renalware-core-2.0.80 config/initializers/mailer_previews.rb
renalware-core-2.0.79 config/initializers/mailer_previews.rb
renalware-core-2.0.78 config/initializers/mailer_previews.rb
renalware-core-2.0.77 config/initializers/mailer_previews.rb
renalware-core-2.0.76 config/initializers/mailer_previews.rb
renalware-core-2.0.75 config/initializers/mailer_previews.rb
renalware-core-2.0.74 config/initializers/mailer_previews.rb
renalware-core-2.0.73 config/initializers/mailer_previews.rb
renalware-core-2.0.72 config/initializers/mailer_previews.rb
renalware-core-2.0.71 config/initializers/mailer_previews.rb
renalware-core-2.0.70 config/initializers/mailer_previews.rb
renalware-core-2.0.69 config/initializers/mailer_previews.rb
renalware-core-2.0.68 config/initializers/mailer_previews.rb
renalware-core-2.0.67 config/initializers/mailer_previews.rb
renalware-core-2.0.64 config/initializers/mailer_previews.rb
renalware-core-2.0.63 config/initializers/mailer_previews.rb