aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/request_controller.rb
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2010-05-06 17:34:24 +0100
committerFrancis Irving <francis@mysociety.org>2010-05-06 17:34:24 +0100
commitf341b0388cceef1a02ea56b5b1ca0d744c52c4b7 (patch)
treeb0fb5f256a7b429fbebe7b76ec604eb8efcb1686 /app/controllers/request_controller.rb
parentd59f746428791971b023d711aa58b5e4cd9a11b5 (diff)
Read only mode.
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r--app/controllers/request_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb
index 6488ad726..eaed31213 100644
--- a/app/controllers/request_controller.rb
+++ b/app/controllers/request_controller.rb
@@ -7,6 +7,7 @@
# $Id: request_controller.rb,v 1.192 2009-10-19 19:26:40 francis Exp $
class RequestController < ApplicationController
+ before_filter :check_read_only, :only => [ :new, :show_response, :describe_state ]
def show
# Look up by old style numeric identifiers