> What's really interesting is the
> Rufus::Sixjo is eating that get method, and returning its own array
> (with contents GET#<Rufus::Sixjo::Route:0xb6c4762c>).
>
>
Ok, I've found the culprit in sixjo (line 384 in version 0.1.3 of the gem)
#--
# the methods for registering the routes
#++
[ :post, :get, :put, :delete ].each do |v|
module_eval <<-EOS
def #{v} (rt, opts={}, &blk)
(@routes ||= []) << [ '#{v.to_s.upcase}', Route.new(rt, opts),
blk ]
end
EOS
end
And I can see why it's there - so I'm not entirely sure how to get
around it!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"OpenWFEru users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---