diff options
author | francis <francis> | 2007-10-30 14:49:07 +0000 |
---|---|---|
committer | francis <francis> | 2007-10-30 14:49:07 +0000 |
commit | 7bb03ac91ff61b35e8b51d68d9538b04cf96a794 (patch) | |
tree | 61031a3cfaacb02cf5b641357aa026e9794b2a01 /app/controllers/user_controller.rb | |
parent | 7666c121d416bfff0593396937abda54b258b536 (diff) |
Remove last index action and rename it show - index is confusing as an action
name as it isn't clear if it is going to be list or show.
Diffstat (limited to 'app/controllers/user_controller.rb')
-rw-r--r-- | app/controllers/user_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 2bcb0203a..3daab0670 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -4,10 +4,10 @@ # 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.3 2007-10-26 18:00:26 francis Exp $ +# $Id: user_controller.rb,v 1.4 2007-10-30 14:49:08 francis Exp $ class UserController < ApplicationController - def index + def show @display_users = User.find(:all, :conditions => [ "name = ?", params[:name] ], :order => "created_at desc") end |