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
65ef56cd
Commit
65ef56cd
authored
Nov 11, 2021
by
Dave Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add prepend_mod_with to UserStatus and Projects::Topic
parent
49b81ec2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
app/models/projects/topic.rb
app/models/projects/topic.rb
+2
-0
app/models/user_status.rb
app/models/user_status.rb
+2
-0
No files found.
app/models/projects/topic.rb
View file @
65ef56cd
...
@@ -28,3 +28,5 @@ module Projects
...
@@ -28,3 +28,5 @@ module Projects
end
end
end
end
end
end
::
Projects
::
Topic
.
prepend_mod_with
(
'Projects::Topic'
)
app/models/user_status.rb
View file @
65ef56cd
...
@@ -33,3 +33,5 @@ class UserStatus < ApplicationRecord
...
@@ -33,3 +33,5 @@ class UserStatus < ApplicationRecord
self
.
clear_status_at
=
CLEAR_STATUS_QUICK_OPTIONS
[
value
]
&
.
from_now
self
.
clear_status_at
=
CLEAR_STATUS_QUICK_OPTIONS
[
value
]
&
.
from_now
end
end
end
end
UserStatus
.
prepend_mod_with
(
'UserStatus'
)
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