diff options
author | randx <dmitriy.zaporozhets@gmail.com> | 2012-09-12 18:56:44 +0300 |
---|---|---|
committer | randx <dmitriy.zaporozhets@gmail.com> | 2012-09-12 18:56:44 +0300 |
commit | acc5302c3fea3f07a654e270f06ebf96fec14c5c (patch) | |
tree | 3c22e348c262ac0d673620656e62163b8c42099d /app/helpers | |
parent | 64f026b254a9492bc22cdbad45ceb4743949f406 (diff) | |
download | gitlab-ce-acc5302c3fea3f07a654e270f06ebf96fec14c5c.tar.gz |
improve profile layout after omniauth changes
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/profile_helper.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/helpers/profile_helper.rb b/app/helpers/profile_helper.rb new file mode 100644 index 00000000000..80d67009f59 --- /dev/null +++ b/app/helpers/profile_helper.rb @@ -0,0 +1,7 @@ +module ProfileHelper + def oauth_active_class provider + if current_user.provider == provider.to_s + 'active' + end + end +end |