diff options
author | francis <francis> | 2007-10-30 15:03:03 +0000 |
---|---|---|
committer | francis <francis> | 2007-10-30 15:03:03 +0000 |
commit | 180ece0c3394c9cdd6de19dfb4860acbed550742 (patch) | |
tree | 481cd0f70287beef5e4d76861ba9def5bcceb620 /app/models/info_request.rb | |
parent | 7bb03ac91ff61b35e8b51d68d9538b04cf96a794 (diff) |
Name named routes consistently
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r-- | app/models/info_request.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb index 4752a396f..7261978da 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.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: info_request.rb,v 1.8 2007-10-29 18:11:34 francis Exp $ +# $Id: info_request.rb,v 1.9 2007-10-30 15:03:03 francis Exp $ require 'digest/sha1' @@ -12,7 +12,7 @@ class InfoRequest < ActiveRecord::Base validates_presence_of :title belongs_to :user - validates_presence_of :user_id + #validates_presence_of :user_id # breaks during construction of new ones :( belongs_to :public_body validates_presence_of :public_body_id |