annotate rendered views with file names in dev

This commit is contained in:
Georg Gadinger 2024-03-09 14:34:07 +01:00 committed by Andreas Nedbal
parent a35b729bb4
commit fcfc28978c
1 changed files with 3 additions and 0 deletions

View File

@ -72,6 +72,9 @@ Rails.application.configure do
# Raises error for missing translations
# config.action_view.raise_on_missing_translations = true
# annotate rendered view with file names, really useful in dev!
config.action_view.annotate_rendered_view_with_filenames = true
# Use an evented file watcher to asynchronously detect changes in source code,
# routes, locales, etc. This feature depends on the listen gem.
# config.file_watcher = ActiveSupport::EventedFileUpdateChecker