diff options
Diffstat (limited to 'app/controllers/help_controller.rb')
-rw-r--r-- | app/controllers/help_controller.rb | 9 |
1 files changed, 8 insertions, 1 deletions
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(/@/, "@") |