Sha256: 46a5f356fefd574df11b2dd44446e43d747c01888a419eb2aa640da2651d2bbe
Contents?: true
Size: 337 Bytes
Versions: 4
Compression:
Stored size: 337 Bytes
Contents
module Restapi module Routing module MapperExtensions def restapi namespace "restapi", :path => Restapi.configuration.doc_base_url do get("(:resource)/(:method)" => "restapis#index" ) end end end end end ActionDispatch::Routing::Mapper.send :include, Restapi::Routing::MapperExtensions
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
restapi-0.0.5 | lib/restapi/routing.rb |
restapi-0.0.4 | lib/restapi/routing.rb |
restapi-0.0.3 | lib/restapi/routing.rb |
restapi-0.0.2 | lib/restapi/routing.rb |