Sha256: 2688d1d1fb0e239f0864af76e556ff93be8b6b27d929c407e9db198af4c18488
Contents?: true
Size: 476 Bytes
Versions: 1
Compression:
Stored size: 476 Bytes
Contents
# frozen_string_literal: true Rails.application.routes.draw do current_api_routes = lambda do resources :clients, only: [] do resources :tokens, only: [:create] end post 'callbacks/:service' => 'callbacks#create' end scope module: "apress", constraints: {domain: :current} do namespace :api do scope module: :v1, ¤t_api_routes namespace :v1, ¤t_api_routes resource :deprecated_version, only: :show end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
apress-api-1.24.2 | config/routes.rb |