Sha256: 1fcaf081fb67055190c7ab45ec578e60b0b5dba233f8b8f7abb8ac2a020b82e3

Contents?: true

Size: 331 Bytes

Versions: 7

Compression:

Stored size: 331 Bytes

Contents

module Apipie
  module Routing
    module MapperExtensions
      def apipie
        namespace "apipie", :path => Apipie.configuration.doc_base_url do
          get("(:resource)/(:method)" => "apipies#index" )
        end
      end
    end
  end
end

ActionDispatch::Routing::Mapper.send :include, Apipie::Routing::MapperExtensions

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
apipie-rails-0.0.13 lib/apipie/routing.rb
apipie-rails-0.0.12 lib/apipie/routing.rb
apipie-rails-0.0.11 lib/apipie/routing.rb
apipie-rails-0.0.10 lib/apipie/routing.rb
apipie-rails-0.0.9 lib/apipie/routing.rb
apipie-rails-0.0.8 lib/apipie/routing.rb
apipie-rails-0.0.7 lib/apipie/routing.rb