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/user_controller.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app/controllers/user_controller.rb') diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 3875bf745..13b2d64cd 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_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: user_controller.rb,v 1.1 2007-10-09 17:12:11 francis Exp $ +# $Id: user_controller.rb,v 1.2 2007-10-09 17:29:43 francis Exp $ class UserController < ApplicationController - def index @display_users = User.find(:all, :conditions => [ "name = ?", params[:name] ]) end + private + end -- cgit v1.2.3