lib/jsonatra.rb in jsonatra-1.0.3 vs lib/jsonatra.rb in jsonatra-1.0.4

- old
+ new

@@ -106,22 +106,9 @@ type: :not_found, message: "The requested path was not found: #{request.path}" } end - class << self - - # because some parameters can be too large for normal GET query strings, - # all GET routes also accept a POST with body data, with the same parameter - # names and behavior - # - alias_method :sinatra_get, :get - def get(*args, &block) - sinatra_get *args, &block - post *args, &block - end - end - end end