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
2f0d006e
Commit
2f0d006e
authored
Jul 23, 2020
by
manojmj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix missing path for avatars of bots
This change fixes missing path for avatars of bots
parent
1645f0fd
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
1 deletion
+6
-1
app/models/concerns/avatarable.rb
app/models/concerns/avatarable.rb
+1
-1
changelogs/unreleased/231251-error-500-in-service-desk-due-missing-asset.yml
...ed/231251-error-500-in-service-desk-due-missing-asset.yml
+5
-0
lib/assets/images/bot_avatars/alert-bot.png
lib/assets/images/bot_avatars/alert-bot.png
+0
-0
lib/assets/images/bot_avatars/security-bot.png
lib/assets/images/bot_avatars/security-bot.png
+0
-0
lib/assets/images/bot_avatars/support-bot.png
lib/assets/images/bot_avatars/support-bot.png
+0
-0
No files found.
app/models/concerns/avatarable.rb
View file @
2f0d006e
...
...
@@ -38,7 +38,7 @@ module Avatarable
class_methods
do
def
bot_avatar
(
image
:)
Rails
.
root
.
join
(
'
app
'
,
'assets'
,
'images'
,
'bot_avatars'
,
image
).
open
Rails
.
root
.
join
(
'
lib
'
,
'assets'
,
'images'
,
'bot_avatars'
,
image
).
open
end
end
...
...
changelogs/unreleased/231251-error-500-in-service-desk-due-missing-asset.yml
0 → 100644
View file @
2f0d006e
---
title
:
Fix missing path for avatars of bots
merge_request
:
37671
author
:
type
:
fixed
app
/assets/images/bot_avatars/alert-bot.png
→
lib
/assets/images/bot_avatars/alert-bot.png
View file @
2f0d006e
File moved
app
/assets/images/bot_avatars/security-bot.png
→
lib
/assets/images/bot_avatars/security-bot.png
View file @
2f0d006e
File moved
app
/assets/images/bot_avatars/support-bot.png
→
lib
/assets/images/bot_avatars/support-bot.png
View file @
2f0d006e
File moved
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