Sha256: 80ce4072b48c942d9cd87c05cd65b3e94c092936fe577c776f024d6f343070ba
Contents?: true
Size: 311 Bytes
Versions: 5
Compression:
Stored size: 311 Bytes
Contents
Okei::Engine.routes.draw do namespace :api, defaults: { format: "json" } do namespace :v1 do resources :units, only: %w(index) do collection do get ":uuid", to: "units#show", uuid: /[a-z\d\-]{36}/ get "search", to: "units#search" end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
okei-1.0.2 | config/routes.rb |
okei-1.0.1 | config/routes.rb |
okei-1.0.0 | config/routes.rb |
okei-1.0.0.pre.rc | config/routes.rb |
okei-0.0.2 | config/routes.rb |