diff options
author | francis <francis> | 2008-11-07 00:01:49 +0000 |
---|---|---|
committer | francis <francis> | 2008-11-07 00:01:49 +0000 |
commit | 47d1295bd002ffb295857690c0a40c1cfc0e5f8c (patch) | |
tree | 8bab346b8544756fc1cebf87f639b42425173436 /app/controllers/help_controller.rb | |
parent | 3d6627cd88e204705e47bb0ac51c82f98377003c (diff) |
Lots more internal review stuff.
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(/@/, "@") |