module ProfileHelper

Public Instance Methods

oauth_active_class(provider) click to toggle source
# File app/helpers/profile_helper.rb, line 2
def oauth_active_class provider
  if current_user.provider == provider.to_s
    'active'
  end
end