Fix to #255 - Author cookie expiry
This commit is contained in:
parent
9ea6e6ae65
commit
50b2cbd693
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue