Fixed syntax error in input arguments
This commit is contained in:
parent
df86725760
commit
9879bb3a47
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue