mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-07 13:44:23 +08:00
Remove check in routes
This commit is contained in:
parent
1e8261ac2a
commit
9e0d0d74ea
1 changed files with 1 additions and 1 deletions
|
@ -629,7 +629,7 @@ Rails.application.routes.draw do
|
|||
namespace :api, defaults: { format: 'json' } do
|
||||
get 'health', to: 'api#health'
|
||||
get 'status', to: 'api#status'
|
||||
if Api.configuration.core_api_v1_enabled || Rails.env.development?
|
||||
if Api.configuration.core_api_v1_enabled
|
||||
namespace :v1 do
|
||||
resources :teams, only: %i(index show) do
|
||||
resources :inventories,
|
||||
|
|
Loading…
Add table
Reference in a new issue