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:
Dmitriy Zaporozhets 2012-09-12 06:49:52 +03:00
commit 621affecb5
18 changed files with 189 additions and 35 deletions

View file

@ -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