Sha256: c9728f7b6c68a1e85efc2f778a1bed9baae6b07a8518f2c84d24cc9e76323ea8

Contents?: true

Size: 178 Bytes

Versions: 10

Compression:

Stored size: 178 Bytes

Contents

class UsersController < ApplicationController
  def autologin
    user = User.find params[:id]
    auto_login user if user
    redirect_to request.referrer || root_path
  end
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
fuck_comments-2.3.4 spec/dummy_app/app/controllers/users_controller.rb
the_comments_ruby-2.3.4 spec/dummy_app/app/controllers/users_controller.rb
the_comments_ruby-2.3.3 spec/dummy_app/app/controllers/users_controller.rb
the_comments-2.3.1 spec/dummy_app/app/controllers/users_controller.rb
the_comments-2.2.2 spec/dummy_app/app/controllers/users_controller.rb
the_comments-2.2.1 spec/dummy_app/app/controllers/users_controller.rb
the_comments-2.2.0 spec/dummy_app/app/controllers/users_controller.rb
the_comments-2.1.0 spec/dummy_app/app/controllers/users_controller.rb
the_comments-2.0.1 spec/dummy_app/app/controllers/users_controller.rb
the_comments-2.0.0 spec/dummy_app/app/controllers/users_controller.rb