Merge branch 'master' of https://github.com/funglaub/gitlabhq into funglaub-master
Conflicts: Gemfile.lock app/helpers/application_helper.rb app/views/devise/sessions/new.html.erb db/schema.rb
This commit is contained in:
commit
621affecb5
18 changed files with 189 additions and 35 deletions
|
@ -135,4 +135,9 @@ module ApplicationHelper
|
|||
"Never"
|
||||
end
|
||||
end
|
||||
|
||||
def authbutton(provider, size = 64)
|
||||
image_tag("authbuttons/#{provider.to_s.split('_').first}_#{size}.png",
|
||||
alt: "Sign in with #{provider.to_s.titleize}" )
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue