Welcome to mirror list, hosted at ThFree Co, Russian Federation.

profile_helper.rb « helpers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 80d67009f597dc9b2a2b0f8eb10f700dbdd8b12f (plain)
1
2
3
4
5
6
7
module ProfileHelper
  def oauth_active_class provider
    if current_user.provider == provider.to_s
      'active'
    end
  end
end