lib/blacklight/engine.rb in blacklight-7.1.0 vs lib/blacklight/engine.rb in blacklight-7.2.0
- old
+ new
@@ -37,17 +37,18 @@
'Verizon' => 'vtext.com',
'Nextel' => 'messaging.nextel.com',
'Sprint' => 'messaging.sprintpcs.com',
'T Mobile' => 'tmomail.net',
'Alltel' => 'message.alltel.com',
- 'Cricket' => 'mms.mycricket.com'
+ 'Cricket' => 'mms.mycricket.com',
+ 'Google Fi' => 'msg.fi.google.com'
}
config.bookmarks_http_method = :post
config.email_regexp = defined?(Devise) ? Devise.email_regexp : /\A[^@\s]+@[^@\s]+\z/
- config.action_dispatch.rescue_responses.merge!(
- "Blacklight::Exceptions::RecordNotFound" => :not_found
- )
+ config.action_dispatch.rescue_responses["Blacklight::Exceptions::RecordNotFound"] = :not_found
+
+ config.enable_search_bar_autofocus = false
end
end