diff options
author | francis <francis> | 2007-10-09 17:12:10 +0000 |
---|---|---|
committer | francis <francis> | 2007-10-09 17:12:10 +0000 |
commit | e179ab8f5d516db42489f059255b475999fde9a0 (patch) | |
tree | 73162ba549ef466c0dd14fb27df578630adf4001 /app/controllers/user_controller.rb | |
parent | 126745d92a315d9a45469697fcc25d099aa27237 (diff) |
Add primitive user page.
Diffstat (limited to 'app/controllers/user_controller.rb')
-rw-r--r-- | app/controllers/user_controller.rb | 15 |
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 |