From 9879bb3a47846ab530f41835170357f3e9004c57 Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Tue, 24 Jan 2012 17:11:49 +0100 Subject: [PATCH] Fixed syntax error in input arguments --- stoptime.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stoptime.rb b/stoptime.rb index a462ba1..5c43741 100644 --- a/stoptime.rb +++ b/stoptime.rb @@ -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