use the right method

git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@155 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7
master
andrew 2008-04-13 08:23:44 +00:00
parent 3ce5d102e9
commit 05c9a673ed
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +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_title_for_url] = @people.to_param
session[:people_id] = @people.id
respond_to do |format|
format.html {