Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0a5068b8
Commit
0a5068b8
authored
Aug 16, 2021
by
Zhu Shung
Committed by
Lin Jen-Shin
Aug 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add jh only initializers
parent
5a272909
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
config/application.rb
config/application.rb
+15
-0
No files found.
config/application.rb
View file @
0a5068b8
...
...
@@ -434,6 +434,21 @@ module Gitlab
end
end
# Load JH initializers under JH. Load ordering is:
# 1. prepend_helpers_path
# 2. before_zeitwerk
# 3. let_zeitwerk_take_over
# 4. move_initializers
# 5. load_config_initializers
# 6. load_jh_config_initializers
Gitlab
.
jh
do
initializer
:load_jh_config_initializers
,
after: :load_config_initializers
do
Dir
[
Rails
.
root
.
join
(
'jh/config/initializers/*.rb'
)].
sort
.
each
do
|
initializer
|
load_config_initializer
(
initializer
)
end
end
end
# Add assets for variants of GitLab. They should take precedence over CE.
# This means if multiple files exist, e.g.:
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment