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
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
71cdb249
Commit
71cdb249
authored
Sep 16, 2015
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix default avatars to ensure that helpers don't have /assets dir appended
parent
0696aeb3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/helpers/application_helper.rb
app/helpers/application_helper.rb
+1
-1
app/helpers/groups_helper.rb
app/helpers/groups_helper.rb
+1
-1
No files found.
app/helpers/application_helper.rb
View file @
71cdb249
...
@@ -82,7 +82,7 @@ module ApplicationHelper
...
@@ -82,7 +82,7 @@ module ApplicationHelper
end
end
def
default_avatar
def
default_avatar
image_path
(
'no_avatar.png'
)
'no_avatar.png'
end
end
def
last_commit
(
project
)
def
last_commit
(
project
)
...
...
app/helpers/groups_helper.rb
View file @
71cdb249
...
@@ -27,7 +27,7 @@ module GroupsHelper
...
@@ -27,7 +27,7 @@ module GroupsHelper
if
group
&&
group
.
avatar
.
present?
if
group
&&
group
.
avatar
.
present?
group
.
avatar
.
url
group
.
avatar
.
url
else
else
image_path
(
'no_group_avatar.png'
)
'no_group_avatar.png'
end
end
end
end
...
...
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