« app/git@code.facil.services:facil/parlote-facil.git » n'existait pas sur « 4b7c9315c82d13dfef25ddc4f122da772ec3a88d »
Newer
Older
# Copyright (c) 2010-2011, Diaspora Inc. This file is
zhitomirskiyi
a validé
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
class SessionsController < Devise::SessionsController
after_filter :enqueue_update, :only => :create
zhitomirskiyi
a validé
protected
def enqueue_update
if current_user
current_user.services.each do |s|
Resque.enqueue(Jobs::UpdateServiceUsers, s.id) if s.respond_to? :save_friends