aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/controllers/user_controller.rb4
-rw-r--r--app/views/user/show.rhtml (renamed from app/views/user/index.rhtml)0
2 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
diff --git a/app/views/user/index.rhtml b/app/views/user/show.rhtml
index 3e2668d01..3e2668d01 100644
--- a/app/views/user/index.rhtml
+++ b/app/views/user/show.rhtml