From 47d1295bd002ffb295857690c0a40c1cfc0e5f8c Mon Sep 17 00:00:00 2001 From: francis Date: Fri, 7 Nov 2008 00:01:49 +0000 Subject: Lots more internal review stuff. --- app/controllers/help_controller.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'app/controllers/help_controller.rb') diff --git a/app/controllers/help_controller.rb b/app/controllers/help_controller.rb index 5fc039b3e..3cce00d1e 100644 --- a/app/controllers/help_controller.rb +++ b/app/controllers/help_controller.rb @@ -4,13 +4,20 @@ # Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: help_controller.rb,v 1.9 2008-10-07 22:05:06 francis Exp $ +# $Id: help_controller.rb,v 1.10 2008-11-07 00:01:49 francis Exp $ class HelpController < ApplicationController def about end + def unhappy + @info_request = nil + if params[:url_title] + @info_request = InfoRequest.find_by_url_title(params[:url_title]) + end + end + def contact @contact_email = MySociety::Config.get("CONTACT_EMAIL", 'contact@localhost') @contact_email = @contact_email.gsub(/@/, "@") -- cgit v1.2.3