mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-16 12:18:07 +01:00
Upgrade to Rails 7.1
This commit is contained in:
parent
36b47125ef
commit
2eb54b1c3e
4 changed files with 4 additions and 5 deletions
|
|
@ -21,8 +21,7 @@ module Tracksapp
|
|||
|
||||
# Custom directories with classes and modules you want to be autoloadable.
|
||||
# config.autoload_paths += %W(#{config.root}/extras)
|
||||
# config.autoload_paths += %W(#{config.root}/lib)
|
||||
config.eager_load_paths += %W(#{config.root}/lib)
|
||||
config.autoload_lib(ignore: %w(assets tasks))
|
||||
|
||||
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
||||
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ Rails.application.configure do
|
|||
config.action_controller.perform_caching = false
|
||||
|
||||
# Raise exceptions instead of rendering exception templates.
|
||||
config.action_dispatch.show_exceptions = false
|
||||
config.action_dispatch.show_exceptions = :none
|
||||
|
||||
# Disable request forgery protection in test environment.
|
||||
config.action_controller.allow_forgery_protection = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue