Leave the form method override stuff for now
This commit is contained in:
parent
d41b70f0d8
commit
51f0bdfa9c
1 changed files with 3 additions and 10 deletions
13
stoptime.rb
13
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
|
||||
|
|
Loading…
Reference in a new issue