Sha256: 6e6bb060d551d7acb000175923c0a8402c4458d5940b3f7cb417e593071585ca
Contents?: true
Size: 253 Bytes
Versions: 2
Compression:
Stored size: 253 Bytes
Contents
Ramaze::Route['REST dispatch'] = lambda{|path, request| case request.request_method when 'GET' path << 'show/' when 'POST' path << 'create/' when 'PUT' path << 'update/' when 'DELETE' path << 'destroy/' else path end }
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
clivecrous-ramaze-0.3.9.5 | lib/ramaze/contrib/rest.rb |
ramaze-2008.06 | lib/ramaze/contrib/rest.rb |