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
1c23f2b2
Commit
1c23f2b2
authored
Mar 12, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct image path to social icons
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
75c9c68c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
app/helpers/application_helper.rb
app/helpers/application_helper.rb
+1
-2
No files found.
app/helpers/application_helper.rb
View file @
1c23f2b2
...
@@ -146,8 +146,7 @@ module ApplicationHelper
...
@@ -146,8 +146,7 @@ module ApplicationHelper
def
authbutton
(
provider
,
size
=
64
)
def
authbutton
(
provider
,
size
=
64
)
file_name
=
"
#{
provider
.
to_s
.
split
(
'_'
).
first
}
_
#{
size
}
.png"
file_name
=
"
#{
provider
.
to_s
.
split
(
'_'
).
first
}
_
#{
size
}
.png"
image_tag
(
"authbuttons/
#{
file_name
}
"
,
image_tag
(
image_path
(
"authbuttons/
#{
file_name
}
"
),
alt:
"Sign in with
#{
provider
.
to_s
.
titleize
}
"
)
alt:
"Sign in with
#{
provider
.
to_s
.
titleize
}
"
)
end
end
def
simple_sanitize
(
str
)
def
simple_sanitize
(
str
)
...
...
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