spec/dummyapp/app/controllers/users_controller.rb in ratchetio-0.5.5 vs spec/dummyapp/app/controllers/users_controller.rb in ratchetio-0.6.0
- old
+ new
@@ -7,6 +7,11 @@
def show
@user = User.find(params[:id])
end
+ def start_session
+ @user = User.find(params[:id])
+ cookies[:session_id] = @user.encrypted_password
+ end
+
end