Sha256: a6205a0e5c8b6ff061267ea5c76eb67716a035f6ce725bea891c40a8a2003d47

Contents?: true

Size: 242 Bytes

Versions: 5

Compression:

Stored size: 242 Bytes

Contents


  if Rails.env.production? || Rails.env.staging?
    rescue_from Exception, with: :server_error
    rescue_from ActiveRecord::RecordNotFound, with: :page_not_found
    rescue_from ActionController::RoutingError, with: :page_not_found
  end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cybele-2.3.2 templates/error_pages/error_control.erb
cybele-2.3.1 templates/error_pages/error_control.erb
cybele-2.2.0 templates/error_pages/error_control.erb
cybele-2.1.0 templates/error_pages/error_control.erb
cybele-2.0.0 templates/error_pages/error_control.erb