mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +02:00
Add API/Registrant/Domains route
This commit is contained in:
parent
311aa503b3
commit
0ab9f6333f
4 changed files with 53 additions and 1 deletions
17
app/controllers/api/v1/registrant/domains_controller.rb
Normal file
17
app/controllers/api/v1/registrant/domains_controller.rb
Normal file
|
@ -0,0 +1,17 @@
|
|||
require 'rails5_api_controller_backport'
|
||||
|
||||
module Api
|
||||
module V1
|
||||
module Registrant
|
||||
class DomainsController < ActionController::API
|
||||
def index
|
||||
render json: { success: true }
|
||||
end
|
||||
|
||||
def show
|
||||
render json: { success: true }
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue