Sha256: 8e3db23fd776cc10c0bed412661ec3b7b0364da614522a57cdb65fce2fe73221

Contents?: true

Size: 403 Bytes

Versions: 9

Compression:

Stored size: 403 Bytes

Contents

StatusCat.configure do |config|

  config.authenticate_with do
    authenticate! unless Rails.env.test?
  end

  config.authorize_with do
    authorize! unless Rails.env.test?
  end

  config.layout = 'admin'

  config.noreply = 'noreply@schrodingersbox.com'
  config.to = 'ops@schrodingersbox.com'
  config.from = 'ops@schrodingersbox.com'
  config.subject = "#{Rails.env.upcase} StatusCat Failure"
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
status_cat-5.2.1 spec/dummy/config/initializers/status_cat.rb
status_cat-5.2.0 spec/dummy/config/initializers/status_cat.rb
status_cat-5.0.2 spec/dummy/config/initializers/status_cat.rb
status_cat-5.0.1 spec/dummy/config/initializers/status_cat.rb
status_cat-5.0.0 spec/dummy/config/initializers/status_cat.rb
status_cat-0.1.1 spec/dummy/config/initializers/status_cat.rb
status_cat-0.1.0 spec/dummy/config/initializers/status_cat.rb
status_cat-0.0.9 spec/dummy/config/initializers/status_cat.rb
status_cat-0.0.8 spec/dummy/config/initializers/status_cat.rb