Method: LesliBabel::ClonesController#create

Defined in:
app/controllers/lesli_babel/clones_controller.rb

#createObject

POST /clones



43
44
45
46
47
48
49
# File 'app/controllers/lesli_babel/clones_controller.rb', line 43

def create
    
    result = TranslationsCloneService.remote_clone(clone_params[:instance_code])
    respond_with_successful if result.success?
    respond_with_error if not result.success?

end