diff options
author | francis <francis> | 2008-04-11 16:10:12 +0000 |
---|---|---|
committer | francis <francis> | 2008-04-11 16:10:12 +0000 |
commit | da2467cbdb75ed8d46f2f1aca6deb5b000f51618 (patch) | |
tree | 198742bee3ef1b0cdd54ecf33f3924142874abc9 /app/controllers/admin_controller.rb | |
parent | 3770a50e7291be2c9c155d0eee2c58ce2249c3c8 (diff) |
Debug page.
Diffstat (limited to 'app/controllers/admin_controller.rb')
-rw-r--r-- | app/controllers/admin_controller.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index 33cc9b26c..64f367b92 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.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: admin_controller.rb,v 1.10 2008-04-11 15:53:57 francis Exp $ +# $Id: admin_controller.rb,v 1.11 2008-04-11 16:10:12 francis Exp $ class AdminController < ApplicationController layout "admin" @@ -46,5 +46,9 @@ class AdminController < ApplicationController @events.sort! { |a,b| b.created_at <=> a.created_at } end + + def debug + @request_env = request.env + end end |