From 51f0bdfa9c4acb1342f1e03f1f5b1cc2369c97f4 Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Mon, 30 Jan 2012 12:57:37 +0100 Subject: [PATCH] Leave the form method override stuff for now --- stoptime.rb | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/stoptime.rb b/stoptime.rb index 6543339..21ede29 100644 --- a/stoptime.rb +++ b/stoptime.rb @@ -76,8 +76,9 @@ module StopTime end # = The Stop… Camping Time! Markaby extensions -module StopTime::Mab - SUPPORTED = [:get, :post] +# FIXME: update for Mab! +module StopTime::Helpers + #SUPPORTED = [:get, :post] # # Adds a method override field in form tags for (usually) unsupported # # methods by browsers (i.e. PUT and DELETE) by injecting a hidden field. @@ -92,14 +93,6 @@ module StopTime::Mab # end # end - def tag!(name, *args) - Kernel.p [name, args] - content = args.shift unless args.first.is_a?(Hash) - attrs = args.inject { |a,b| a.merge(b) } - Kernel.p [name, content, args] - super(name, content, attrs) - end - end # = The Stop… Camping Time! models