From c3ade0115f44cfe055d7450cef07954de9668440 Mon Sep 17 00:00:00 2001 From: francis Date: Tue, 9 Oct 2007 17:29:43 +0000 Subject: Tweak formatting of controllers. Add explicit "private" to encourage adding of non-action functions there. --- app/controllers/request_controller.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app/controllers/request_controller.rb') diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index b1c994531..e860d43ef 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -4,12 +4,13 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: request_controller.rb,v 1.1 2007-10-09 11:30:01 francis Exp $ +# $Id: request_controller.rb,v 1.2 2007-10-09 17:29:43 francis Exp $ class RequestController < ApplicationController - def index @info_request = InfoRequest.find(params[:id]) end + private + end -- cgit v1.2.3