improve profile layout after omniauth changes

This commit is contained in:
randx 2012-09-12 18:56:44 +03:00
parent 64f026b254
commit acc5302c3f
6 changed files with 67 additions and 47 deletions

View file

@ -0,0 +1,7 @@
module ProfileHelper
def oauth_active_class provider
if current_user.provider == provider.to_s
'active'
end
end
end