Fix local follows, 404 in logs
This commit is contained in:
@ -10,7 +10,7 @@ Rails.application.configure do
|
||||
config.eager_load = false
|
||||
|
||||
# Show full error reports.
|
||||
config.consider_all_requests_local= true
|
||||
config.consider_all_requests_local = true
|
||||
|
||||
# Enable/disable caching. By default caching is disabled.
|
||||
if Rails.root.join('tmp/caching-dev.txt').exist?
|
||||
|
@ -72,4 +72,6 @@ Rails.application.routes.draw do
|
||||
end
|
||||
|
||||
root 'home#index'
|
||||
|
||||
match '*unmatched_route', via: :all, to: 'application#raise_not_found'
|
||||
end
|
||||
|
Reference in New Issue
Block a user