Auxiliary::Web::Path.from_model: inputs => form.inputs

Fixed uninitialized variable error.
unstable
Tasos Laskos 2013-03-11 23:08:41 +02:00
parent 2f95d083e8
commit c641ca96c1
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ class Path < Fuzzable
end
def self.from_model( form )
e = new( :action => "#{form.path}?#{form.query}", :input => inputs[0][1] )
e = new( :action => "#{form.path}?#{form.query}", :input => form.inputs[0][1] )
e.model = form
e
end