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
dbf1f265
Commit
dbf1f265
authored
Jan 22, 2021
by
Mehmet Emin INAC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add examples of `prepend_ee_mod` usage
parent
3742c587
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
app/controllers/application_controller.rb
app/controllers/application_controller.rb
+1
-1
app/models/vulnerability.rb
app/models/vulnerability.rb
+1
-1
lib/api/api.rb
lib/api/api.rb
+1
-1
No files found.
app/controllers/application_controller.rb
View file @
dbf1f265
...
@@ -556,4 +556,4 @@ class ApplicationController < ActionController::Base
...
@@ -556,4 +556,4 @@ class ApplicationController < ActionController::Base
end
end
end
end
ApplicationController
.
prepend_
if_ee
(
'EE::ApplicationController'
)
ApplicationController
.
prepend_
ee_mod
app/models/vulnerability.rb
View file @
dbf1f265
...
@@ -25,4 +25,4 @@ class Vulnerability < ApplicationRecord
...
@@ -25,4 +25,4 @@ class Vulnerability < ApplicationRecord
end
end
end
end
Vulnerability
.
prepend_
if_ee
(
'EE::Vulnerability'
)
Vulnerability
.
prepend_
ee_mod
lib/api/api.rb
View file @
dbf1f265
...
@@ -313,4 +313,4 @@ module API
...
@@ -313,4 +313,4 @@ module API
end
end
end
end
API
::
API
.
prepend_
if_ee
(
'::EE::API::API'
)
API
::
API
.
prepend_
ee_mod
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