Further updates to Rails 5.0.2
This commit is contained in:
parent
4d41ea6bce
commit
f7258370a0
4 changed files with 6 additions and 3 deletions
|
|
@ -76,4 +76,6 @@ Rails.application.configure do
|
|||
large: '800x600',
|
||||
small: '160x120',
|
||||
}
|
||||
|
||||
# config.file_watcher = ActiveSupport::EventedFileUpdateChecker
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Debshots::Application.configure do
|
||||
Rails.application.configure do
|
||||
# Settings specified here will take precedence over those in config/application.rb.
|
||||
|
||||
# The test environment is used exclusively to run your application's
|
||||
|
|
@ -28,6 +28,7 @@ Debshots::Application.configure do
|
|||
|
||||
# Disable request forgery protection in test environment.
|
||||
config.action_controller.allow_forgery_protection = false
|
||||
config.action_mailer.perform_caching = false
|
||||
|
||||
# Tell Action Mailer not to deliver emails to the real world.
|
||||
# The :test delivery method accumulates sent emails in the
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
# Specify a serializer for the signed and encrypted cookie jars.
|
||||
# Valid options are :json, :marshal, and :hybrid.
|
||||
Rails.application.config.action_dispatch.cookies_serializer = :marshal
|
||||
Rails.application.config.action_dispatch.cookies_serializer = :json
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Debshots::Application.routes.draw do
|
||||
Rails.application.routes.draw do
|
||||
|
||||
get 'admin/status'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue