diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-20 18:40:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-20 18:40:28 +0300 |
commit | b595cb0c1dec83de5bdee18284abe86614bed33b (patch) | |
tree | 8c3d4540f193c5ff98019352f554e921b3a41a72 /config/environments | |
parent | 2f9104a328fc8a4bddeaa4627b595166d24671d0 (diff) |
Add latest changes from gitlab-org/gitlab@15-2-stable-eev15.2.0-rc42
Diffstat (limited to 'config/environments')
-rw-r--r-- | config/environments/development.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb index 076957f3057..5b72c6b35f8 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -37,6 +37,9 @@ Rails.application.configure do # Expands the lines which load the assets # config.assets.debug = true + # Annotate rendered view with template file names as HTML comments + config.action_view.annotate_rendered_view_with_filenames = true + # Adds additional error checking when serving assets at runtime. # Checks for improperly declared sprockets dependencies. # Raises helpful error messages. @@ -66,6 +69,7 @@ Rails.application.configure do config.active_record.migration_error = false config.active_record.verbose_query_logs = false config.action_view.cache_template_loading = true + config.action_view.annotate_rendered_view_with_filenames = false config.middleware.delete BetterErrors::Middleware end |