mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Add basic REST API
This commit is contained in:
parent
b934850ba7
commit
dc2270491d
5 changed files with 53 additions and 0 deletions
|
@ -5,6 +5,8 @@ Rails.application.routes.draw do
|
|||
get 'error/:command', to: 'errors#error', defaults: { format: :xml }
|
||||
end
|
||||
|
||||
mount Repp::API => '/'
|
||||
|
||||
## ADMIN ROUTES
|
||||
namespace(:admin) do
|
||||
resources :keyrelays
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue