Fixed syntax error in input arguments

This commit is contained in:
Paul van Tilburg 2012-01-24 17:11:49 +01:00
parent df86725760
commit 9879bb3a47
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ module StopTime::Helpers
override = !SUPPORTED.include?(meth)
options[:method] = 'post' if override
super(options) do
input type: 'hidden', name: '_method', value: meth if override
input :type => 'hidden', :name => '_method', :value => meth if override
yield
end
end