Permalink
Browse files

Change cookie expiration to 1 year (instead of 1 day).

  • Loading branch information...
1 parent 164349d commit 5a773d4028d1c33eb316c2b7d34180b88c2d5cd4 @r00k r00k committed Jan 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/generators/paul_revere/templates/announcements.js
@@ -1,5 +1,5 @@
function hideAnnouncement(announcement_created_at) {
- createCookie(announcement_created_at, 'hidden', 1);
+ createCookie(announcement_created_at, 'hidden', 365);
$("#announcement").parent().slideUp();
}

0 comments on commit 5a773d4

Please sign in to comment.