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

Version Path
houston-core-0.8.0.pre app/controllers/sessions_controller.rb
houston-core-0.7.0 app/controllers/sessions_controller.rb
houston-core-0.7.0.beta4 app/controllers/sessions_controller.rb
houston-core-0.7.0.beta3 app/controllers/sessions_controller.rb
houston-core-0.7.0.beta2 app/controllers/sessions_controller.rb
houston-core-0.7.0.beta app/controllers/sessions_controller.rb
houston-core-0.6.3 app/controllers/sessions_controller.rb
houston-core-0.6.2 app/controllers/sessions_controller.rb
houston-core-0.6.1 app/controllers/sessions_controller.rb
houston-core-0.6.0 app/controllers/sessions_controller.rb
houston-core-0.5.6 app/controllers/sessions_controller.rb
houston-core-0.5.5 app/controllers/sessions_controller.rb
houston-core-0.5.4 app/controllers/sessions_controller.rb
houston-core-0.5.3 app/controllers/sessions_controller.rb
houston-core-0.5.2 app/controllers/sessions_controller.rb
houston-core-0.5.1 app/controllers/sessions_controller.rb
houston-core-0.5.0 app/controllers/sessions_controller.rb