Sha256: aade03c0c7d0bcf036416b7869c3b72281bc343c6bbe92a3db65c6820f243540
Contents?: true
Size: 420 Bytes
Versions: 12
Compression:
Stored size: 420 Bytes
Contents
module Apipie module Routing module MapperExtensions def apipie namespace "apipie", :path => Apipie.configuration.doc_base_url do constraints(:version => /[^\/]+/) do get("(:version)/(:resource)/(:method)" => "apipies#index", :as => :apipie) end end end end end end ActionDispatch::Routing::Mapper.send :include, Apipie::Routing::MapperExtensions
Version data entries
12 entries across 12 versions & 2 rubygems