adding additional field into session

git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@119 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7
master
andrew 2008-02-03 00:54:05 +00:00
parent b0b9dea1f2
commit f02f3ba8d7
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ class SessionsController < ApplicationController
@people = People.authenticate(params[:login], params[:password])
if @people
session[:people_title] = @people.title
session[:people_title_for_url] = @people.page.title_for_url
session[:people_id] = @people.id
respond_to do |format|
format.html {