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
f19463ee
Commit
f19463ee
authored
Mar 02, 2020
by
Tetiana Chupryna
Committed by
James Lopez
Mar 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix file name in comment
parent
7948c4dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/models/user_bot_type_enums.rb
app/models/user_bot_type_enums.rb
+1
-1
ee/app/models/ee/user_bot_type_enums.rb
ee/app/models/ee/user_bot_type_enums.rb
+1
-1
No files found.
app/models/user_bot_type_enums.rb
View file @
f19463ee
...
...
@@ -2,7 +2,7 @@
module
UserBotTypeEnums
def
self
.
bots
# When adding a new key, please ensure you are not conflicting with EE-only keys in app/models/user_bot_type
s
_enums.rb
# When adding a new key, please ensure you are not conflicting with EE-only keys in app/models/user_bot_type_enums.rb
{
alert_bot:
2
}
...
...
ee/app/models/ee/user_bot_type_enums.rb
View file @
f19463ee
...
...
@@ -9,7 +9,7 @@ module EE
override
:bots
def
bots
# When adding a new key, please ensure you are not redefining a key that already exists in app/models/user_bot_type
s
_enums.rb
# When adding a new key, please ensure you are not redefining a key that already exists in app/models/user_bot_type_enums.rb
bots_hash
=
super
.
merge
(
support_bot:
1
,
visual_review_bot:
3
)
bots_hash
[
:custom
]
=
99
if
::
Gitlab
.
com?
bots_hash
...
...
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