From e179ab8f5d516db42489f059255b475999fde9a0 Mon Sep 17 00:00:00 2001 From: francis Date: Tue, 9 Oct 2007 17:12:10 +0000 Subject: Add primitive user page. --- app/controllers/user_controller.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 app/controllers/user_controller.rb (limited to 'app/controllers/user_controller.rb') 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 -- cgit v1.2.3