aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/user_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/user_controller.rb')
-rw-r--r--app/controllers/user_controller.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb
new file mode 100644
index 000000000..3875bf745
--- /dev/null
+++ b/app/controllers/user_controller.rb
@@ -0,0 +1,15 @@
+# app/controllers/user_controller.rb:
+# Show information about a user.
+#
+# 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 $
+
+class UserController < ApplicationController
+
+ def index
+ @display_users = User.find(:all, :conditions => [ "name = ?", params[:name] ])
+ end
+
+end