Fix to #255 - Author cookie expiry

This commit is contained in:
Alexey Verkhovsky 2005-10-20 01:18:15 +00:00
parent 9ea6e6ae65
commit 50b2cbd693
2 changed files with 2 additions and 1 deletions

View file

@ -185,7 +185,7 @@ class WikiController < ApplicationController
def save
redirect_home if @page_name.nil?
cookies['author'] = @params['author']
cookies['author'] = { :value => @params['author'], :expires => Time.utc(2030) }
begin
if @page