mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 13:13:22 +08:00
Fix routes
This commit is contained in:
parent
4c7312faf9
commit
9a8e53c4bc
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
Rails.application.routes.draw do
|
||||
use_doorkeeper do
|
||||
#skip_controllers :applications, :authorized_applications, :token_info
|
||||
skip_controllers :applications, :authorized_applications, :token_info
|
||||
end
|
||||
|
||||
# Addons
|
||||
|
@ -633,7 +633,7 @@ Rails.application.routes.draw do
|
|||
namespace :api, defaults: { format: 'json' } do
|
||||
get 'health', to: 'api#health'
|
||||
get 'status', to: 'api#status'
|
||||
if Rails.configuration.x.core_api_v1_enabled || true
|
||||
if Rails.configuration.x.core_api_v1_enabled
|
||||
namespace :v1 do
|
||||
resources :teams, only: %i(index show) do
|
||||
resources :inventories,
|
||||
|
|
Loading…
Reference in a new issue