diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-06-16 10:30:46 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-06-16 10:30:46 +0100 |
commit | d5812d4f687c1dbe5513fde85969eecb0a87a9b8 (patch) | |
tree | ad940008d4fea55aa8bc54e466ddd1193e188923 /app/controllers/general_controller.rb | |
parent | 170b2508e9e07e4b430d25c6f4d7ae3930caa07d (diff) | |
parent | 42870985da06418461c847563fa860c11b4094a1 (diff) |
Merge branch 'replace-xxx-todo' into rails-3-develop
Diffstat (limited to 'app/controllers/general_controller.rb')
-rw-r--r-- | app/controllers/general_controller.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/general_controller.rb b/app/controllers/general_controller.rb index e2a2190b0..28055ddbf 100644 --- a/app/controllers/general_controller.rb +++ b/app/controllers/general_controller.rb @@ -59,7 +59,7 @@ class GeneralController < ApplicationController # Actual search def search - # XXX Why is this so complicated with arrays and stuff? Look at the route + # TODO: Why is this so complicated with arrays and stuff? Look at the route # in config/routes.rb for comments. combined = params[:combined].split("/") @sortby = nil @@ -70,7 +70,7 @@ class GeneralController < ApplicationController else @advanced = false end - # XXX currently /described isn't linked to anywhere, just used in RSS and for /list/successful + # TODO: currently /described isn't linked to anywhere, just used in RSS and for /list/successful # This is because it's confusingly different from /newest - but still useful for power users. if combined.size > 0 && (['newest', 'described', 'relevant'].include?(combined[-1])) @sort_postfix = combined.pop @@ -124,7 +124,7 @@ class GeneralController < ApplicationController end end - # Query each type separately for separate display (XXX we are calling + # Query each type separately for separate display (TODO: we are calling # perform_search multiple times and it clobbers per_page for each one, # so set as separate var) requests_per_page = params[:requests_per_page] ? params[:requests_per_page].to_i : 25 |