diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 02:18:09 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 02:18:09 +0300 |
commit | 6ed4ec3e0b1340f96b7c043ef51d1b33bbe85fde (patch) | |
tree | dc4d20fe6064752c0bd323187252c77e0a89144b /config/environments/development.rb | |
parent | 9868dae7fc0655bd7ce4a6887d4e6d487690eeed (diff) |
Add latest changes from gitlab-org/gitlab@15-4-stable-eev15.4.0-rc42
Diffstat (limited to 'config/environments/development.rb')
-rw-r--r-- | config/environments/development.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb index d475a2a6642..5e67ed71954 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -50,6 +50,8 @@ Rails.application.configure do # Push preview path now to prevent FrozenError during view_component's initialzer config.autoload_paths.push("#{config.root}/spec/components/previews") + config.lookbook.page_paths = ["#{config.root}/spec/components/docs"] + # Adds additional error checking when serving assets at runtime. # Checks for improperly declared sprockets dependencies. # Raises helpful error messages. @@ -61,7 +63,7 @@ Rails.application.configure do config.action_mailer.raise_delivery_errors = true # Don't make a mess when bootstrapping a development environment config.action_mailer.perform_deliveries = (ENV['BOOTSTRAP'] != '1') - config.action_mailer.preview_path = "#{Rails.root}{/ee,}/app/mailers/previews" + config.action_mailer.preview_path = GitlabEdition.path_glob('app/mailers/previews') config.eager_load = false |