Sha256: 62cc47a4ac9c424f48a9e1332f26c607c553370f746730f592c1f22bf95ec345
Contents?: true
Size: 295 Bytes
Versions: 143
Compression:
Stored size: 295 Bytes
Contents
class UsersController < ApplicationController before_filter :authenticate_user! def index @users = User.all end def show @user = User.find(params[:id]) end def start_session @user = User.find(params[:id]) cookies[:session_id] = @user.encrypted_password end end
Version data entries
143 entries across 143 versions & 2 rubygems