|
|
@ -125,14 +125,16 @@ namespace :api, format: false do
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
resource :instance, only: [:show] do
|
|
|
|
resource :instance, only: [:show] do
|
|
|
|
resources :peers, only: [:index], controller: 'instances/peers'
|
|
|
|
scope module: :instances do
|
|
|
|
resources :rules, only: [:index], controller: 'instances/rules'
|
|
|
|
resources :peers, only: [:index]
|
|
|
|
resources :domain_blocks, only: [:index], controller: 'instances/domain_blocks'
|
|
|
|
resources :rules, only: [:index]
|
|
|
|
resource :privacy_policy, only: [:show], controller: 'instances/privacy_policies'
|
|
|
|
resources :domain_blocks, only: [:index]
|
|
|
|
resource :extended_description, only: [:show], controller: 'instances/extended_descriptions'
|
|
|
|
resource :privacy_policy, only: [:show]
|
|
|
|
resource :translation_languages, only: [:show], controller: 'instances/translation_languages'
|
|
|
|
resource :extended_description, only: [:show]
|
|
|
|
resource :languages, only: [:show], controller: 'instances/languages'
|
|
|
|
resource :translation_languages, only: [:show]
|
|
|
|
resource :activity, only: [:show], controller: 'instances/activity'
|
|
|
|
resource :languages, only: [:show]
|
|
|
|
|
|
|
|
resource :activity, only: [:show], controller: :activity
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
namespace :peers do
|
|
|
|
namespace :peers do
|
|
|
|