diff options
author | francis <francis> | 2007-10-24 11:39:37 +0000 |
---|---|---|
committer | francis <francis> | 2007-10-24 11:39:37 +0000 |
commit | bc3b0c2e181697f240d3f8c863c4cdb03d4ca88d (patch) | |
tree | 2ab885540aa8a6586848f16ad719aa396d8146c4 /app/controllers/application.rb | |
parent | 8277d14fc923089bef47ac92520fabec3dea64b7 (diff) |
Read in mySociety style configuration file, if it is there (use sensible defaults if not).
Actually send request to public body, or fake address on staging site.
Fix minor bug with sending front page form public body to new request page.
Diffstat (limited to 'app/controllers/application.rb')
-rw-r--r-- | app/controllers/application.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/controllers/application.rb b/app/controllers/application.rb index e86fe7338..0241ec66e 100644 --- a/app/controllers/application.rb +++ b/app/controllers/application.rb @@ -6,7 +6,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: application.rb,v 1.15 2007-10-16 21:17:14 louise Exp $ +# $Id: application.rb,v 1.16 2007-10-24 11:39:37 francis Exp $ class ApplicationController < ActionController::Base @@ -138,5 +138,7 @@ class ApplicationController < ActionController::Base return request.env["REMOTE_USER"] end end - end + + + |