Sha256: 9e669860d41791803a4ab34ea6062f7e320c7d1f6ea1bdd501a0895ef92c2325
Contents?: true
Size: 231 Bytes
Versions: 17
Compression:
Stored size: 231 Bytes
Contents
class SessionsController < Devise::SessionsController before_filter :store_location, :only => [:new] def store_location session["user_redirect_to"] = request.referer unless request.referer =~ /\/users\/sign_in/ end end
Version data entries
17 entries across 17 versions & 1 rubygems