improve profile layout after omniauth changes
This commit is contained in:
parent
64f026b254
commit
acc5302c3f
6 changed files with 67 additions and 47 deletions
7
app/helpers/profile_helper.rb
Normal file
7
app/helpers/profile_helper.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
module ProfileHelper
|
||||
def oauth_active_class provider
|
||||
if current_user.provider == provider.to_s
|
||||
'active'
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue