aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2008-01-14 12:27:56 +0000
committerfrancis <francis>2008-01-14 12:27:56 +0000
commit0e239ae32f95104633b209d76bee2bfdf9f7b002 (patch)
tree2014caa92323226a911b93b3901a916b99683349
parentbe6a1f194c8ac7eb6037ab9ff5a9857abc1ab8e6 (diff)
Comments
-rw-r--r--app/helpers/application_helper.rb4
-rw-r--r--app/models/application_mailer.rb3
-rw-r--r--todo.txt2
3 files changed, 5 insertions, 4 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index a63d36b39..8f9f3cd3d 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -5,11 +5,11 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: application_helper.rb,v 1.13 2007-11-07 10:26:30 francis Exp $
+# $Id: application_helper.rb,v 1.14 2008-01-14 12:27:56 francis Exp $
module ApplicationHelper
# URL generating functions are needed by all controllers (for redirects)
- # and views (for links), so include them into all of both.
+ # views (for links), so include them into all of both.
include LinkToHelper
# Copied from error_messages_for in active_record_helper.rb
diff --git a/app/models/application_mailer.rb b/app/models/application_mailer.rb
index 027997f00..6ed007557 100644
--- a/app/models/application_mailer.rb
+++ b/app/models/application_mailer.rb
@@ -4,9 +4,10 @@
# Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: application_mailer.rb,v 1.1 2008-01-14 12:23:28 francis Exp $
+# $Id: application_mailer.rb,v 1.2 2008-01-14 12:27:56 francis Exp $
class ApplicationMailer < ActionMailer::Base
+ # Include all the functions views get, as emails call similar things.
helper :application
def contact_from_name_and_email
diff --git a/todo.txt b/todo.txt
index 618139b0d..65711a154 100644
--- a/todo.txt
+++ b/todo.txt
@@ -19,13 +19,13 @@ BAILII - relationship with law courts, robots.txt ?
Next
====
-Set From: to have name of user, and set To: to have name of body etc. for all mails
Followups:
- link to the follow up form, or embed in bottom of main request page
- don't show classify link on /response/ page
- add spec test code for followups
- rename get_quoted_part_of_followup
+ - Copy To: for followups properly (including name not just email)
Alert somewhere if working days table not up to date
Test it works if exim is down - e.g. not accepting connections