diff options
author | francis <francis> | 2008-09-07 17:40:19 +0000 |
---|---|---|
committer | francis <francis> | 2008-09-07 17:40:19 +0000 |
commit | 484ba346cd5e218e2098cb4c182b60f5e5d0dbd8 (patch) | |
tree | 3c10ed7d1d19b6bf78eaafd9517e20a027774280 /app/controllers/body_controller.rb | |
parent | 8c24e6cfb0071238e443df10e7f8a891cd74af95 (diff) |
Tweeks for test code
Diffstat (limited to 'app/controllers/body_controller.rb')
-rw-r--r-- | app/controllers/body_controller.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/body_controller.rb b/app/controllers/body_controller.rb index 78ccb520c..046ee2cd6 100644 --- a/app/controllers/body_controller.rb +++ b/app/controllers/body_controller.rb @@ -4,7 +4,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: body_controller.rb,v 1.14 2008-09-07 16:55:55 francis Exp $ +# $Id: body_controller.rb,v 1.15 2008-09-07 17:40:19 francis Exp $ class BodyController < ApplicationController # XXX tidy this up with better error messages, and a more standard infrastructure for the redirect to canonical URL @@ -40,6 +40,7 @@ class BodyController < ApplicationController def list @tag = params[:tag] if @tag.nil? + @tag = "" conditions = [] elsif @tag == 'other' category_list = PublicBody.categories.map{|c| "'"+c+"'"}.join(",") |