gitlabhq/app/helpers/profile_helper.rb

8 lines
134 B
Ruby
Raw Normal View History

module ProfileHelper
def oauth_active_class provider
if current_user.provider == provider.to_s
'active'
end
end
end