From 05c9a673edf72bf836749ca4b11d1d70eceb264d Mon Sep 17 00:00:00 2001 From: andrew Date: Sun, 13 Apr 2008 08:23:44 +0000 Subject: [PATCH] use the right method git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@155 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7 --- app/controllers/sessions_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index 7f68253..73c50d7 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -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 {