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