diff options
author | francis <francis> | 2008-05-21 10:51:23 +0000 |
---|---|---|
committer | francis <francis> | 2008-05-21 10:51:23 +0000 |
commit | 4945a4c4801326553be87c80a381afdd787841c3 (patch) | |
tree | 1da01bc40aa136b56c9fb080a3332bfe9060c4f9 /app/controllers/application.rb | |
parent | 2452b06d4b9a45d43b01af261b19a842a747dbe9 (diff) |
Bullet list in credits on about page.
Rename rss_at to described_at.
Email alerts based on date of description, not just creation date (so don't
miss things that were created before alert but described only recently)
Tidy up when described vs. newest is used for sort order.
Caching of text extracted from attachments, and display in search results.
Add some tests for things that aren't tested.
(alright, maybe we *should* use git/hg if I'm going to keep doing this many
separate commits on a train)
Diffstat (limited to 'app/controllers/application.rb')
-rw-r--r-- | app/controllers/application.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/application.rb b/app/controllers/application.rb index 6decd6591..fffb32871 100644 --- a/app/controllers/application.rb +++ b/app/controllers/application.rb @@ -6,7 +6,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: application.rb,v 1.45 2008-05-15 17:40:43 francis Exp $ +# $Id: application.rb,v 1.46 2008-05-21 10:51:24 francis Exp $ class ApplicationController < ActionController::Base @@ -134,7 +134,7 @@ class ApplicationController < ActionController::Base elsif sortby == 'newest' return ['created_at', false] elsif sortby == 'described' - return ['rss_at', false] # use this for RSS + return ['described_at', false] # use this for some RSS else raise "Unknown sort order " + @sortby end |