Changeset View
Changeset View
Standalone View
Standalone View
src/app/Http/Controllers/API/V4/DomainsController.php
Show First 20 Lines • Show All 159 Lines • ▼ Show 20 Lines | public function store(Request $request) | ||||
]); | ]); | ||||
$domain->assignPackage($package, $owner); | $domain->assignPackage($package, $owner); | ||||
DB::commit(); | DB::commit(); | ||||
return response()->json([ | return response()->json([ | ||||
'status' => 'success', | 'status' => 'success', | ||||
'message' => __('app.domain-create-success'), | 'message' => \trans('app.domain-create-success'), | ||||
]); | ]); | ||||
} | } | ||||
/** | /** | ||||
* Get the information about the specified domain. | * Get the information about the specified domain. | ||||
* | * | ||||
* @param string $id Domain identifier | * @param string $id Domain identifier | ||||
* | * | ||||
▲ Show 20 Lines • Show All 165 Lines • Show Last 20 Lines |