profile_helper.rb 134 Bytes EditWeb IDE 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