init push - laying out the project
This commit is contained in:
11
portal/app/controllers/api/v1/account_controller.rb
Normal file
11
portal/app/controllers/api/v1/account_controller.rb
Normal file
@ -0,0 +1,11 @@
|
||||
class Api::V1::AccountController < Api::AuthenticatedApiController
|
||||
def create
|
||||
render json: { success: true} and return
|
||||
end
|
||||
|
||||
# def is_domain_valid
|
||||
# valid = !Helpbuild::Ecosystem.reserved_account_domains.include?(params[:domain])
|
||||
# valid &= /[A-Za-z0-9-]{1,63}/.match(params[:domain]).present?
|
||||
# render json: { success: valid} and return
|
||||
# end
|
||||
end
|
Reference in New Issue
Block a user