aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/controllers/help_controller.rb4
-rw-r--r--config/routes.rb4
-rw-r--r--todo.txt31
3 files changed, 16 insertions, 23 deletions
diff --git a/app/controllers/help_controller.rb b/app/controllers/help_controller.rb
index d37aeb86f..781214dc0 100644
--- a/app/controllers/help_controller.rb
+++ b/app/controllers/help_controller.rb
@@ -4,7 +4,7 @@
# 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.3 2008-02-20 08:00:09 francis Exp $
+# $Id: help_controller.rb,v 1.4 2008-02-21 18:32:43 francis Exp $
class HelpController < ApplicationController
@@ -27,7 +27,7 @@ class HelpController < ApplicationController
"IP #{request.env['REMOTE_HOST']}" + (@user ? (", logged in as user " + @user.email) : ", not logged in")
)
flash[:notice] = "Your message has been sent. Thank you for getting in touch! We'll get back to you soon."
- redirect_to home_url
+ redirect_to frontpage_url
return
end
end
diff --git a/config/routes.rb b/config/routes.rb
index d230fed37..80055713c 100644
--- a/config/routes.rb
+++ b/config/routes.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: routes.rb,v 1.34 2008-02-21 15:18:47 francis Exp $
+# $Id: routes.rb,v 1.35 2008-02-21 18:32:43 francis Exp $
ActionController::Routing::Routes.draw do |map|
# The priority is based upon order of creation: first created -> highest priority.
@@ -14,7 +14,7 @@ ActionController::Routing::Routes.draw do |map|
# Keep in mind you can assign values other than :controller and :action
map.with_options :controller => 'request' do |request|
- request.home '/', :action => 'frontpage'
+ request.frontpage '/', :action => 'frontpage'
request.auto_complete_for_public_body_query 'auto_complete_for_public_body_query', :action => 'auto_complete_for_public_body_query'
request.request_list '/list', :action => 'list'
diff --git a/todo.txt b/todo.txt
index 4bda5880b..8ff9c8be9 100644
--- a/todo.txt
+++ b/todo.txt
@@ -31,16 +31,17 @@ Add - response was made in private state
or maybe 'response refusing to publish for spurious reasons
Also: Consider removing login links from notifications of new responses
-Do something at least a bit aggressive when response is late
+When response is late, email the user
Go through all requests and check status is shiny
Next
====
-Rename frontpage controller to home (or home to frontpage)
-
-Put the admin "Public page" link on request page somewhere clearer
+Show other requests to same public body on write page
+Remove the drop down on the write page
+Make the button on public body page into a link
+Browse all public bodies
Lucene for search - use http://acts-as-solr.rubyforge.org/
Have a look at http://swish-e.org/
@@ -149,21 +150,13 @@ e.g.
Sources of public bodies
========================
- * Department for Children, Schools and Families
- * Department for Innovation, Universities and Skills
- * Department for Business, Enterprise and Regulatory Reform
- * Department for Environment, Food and Rural Affairs
- * HM Treasury
- * Northern Ireland Office
- * Privy Council
- * Wales Office
- * Wales Office (in Welsh)
- * Scotland Office
- * Department for Work and Pensions
- * Department for International Development
- * Department for Communities and Local Government
- * Cabinet Office
- * Office of the Leader of the House of Commons
+Got list of departments from:
+http://www.number10.gov.uk/output/Page30.asp
+
+Compare against
+http://en.wikipedia.org/wiki/Departments_of_the_United_Kingdom_Government
+
+Skipped: Office of the Leader of the House of Commons
Tricky:
* Ministry of Defence