diff options
author | francis <francis> | 2007-10-08 15:16:22 +0000 |
---|---|---|
committer | francis <francis> | 2007-10-08 15:16:22 +0000 |
commit | c3cf62e41b22605555df3cb5bbdcf64a331cff23 (patch) | |
tree | 9074d1d61f93e01070d2abd6bc6e5ebe4a75272a /app/controllers/new_controller.rb | |
parent | 178002c0585d127c0286c9557b727d9c91ef92bf (diff) |
Actually store user id when making request.
/list URL displays all requests that are in progress.
Diffstat (limited to 'app/controllers/new_controller.rb')
-rw-r--r-- | app/controllers/new_controller.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/new_controller.rb b/app/controllers/new_controller.rb index 1952ace06..175393502 100644 --- a/app/controllers/new_controller.rb +++ b/app/controllers/new_controller.rb @@ -4,7 +4,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: new_controller.rb,v 1.1 2007-10-08 14:58:27 francis Exp $ +# $Id: new_controller.rb,v 1.2 2007-10-08 15:16:22 francis Exp $ class NewController < ApplicationController def index @@ -25,6 +25,7 @@ class NewController < ApplicationController if not @info_request.valid? render :action => 'index' elsif check_authentication + @info_request.user = authenticated_user @info_request.save end |