use routes

This commit is contained in:
denisdulici 2020-05-07 16:56:33 +03:00
parent 8f8c070272
commit 8f37813256

View File

@ -84,19 +84,19 @@ class Item extends Controller
// Download // Download
$steps[] = [ $steps[] = [
'text' => trans('modules.installation.download', ['module' => $name]), 'text' => trans('modules.installation.download', ['module' => $name]),
'url' => url('apps/download') 'url' => route('apps.download')
]; ];
// Unzip // Unzip
$steps[] = [ $steps[] = [
'text' => trans('modules.installation.unzip', ['module' => $name]), 'text' => trans('modules.installation.unzip', ['module' => $name]),
'url' => url('apps/unzip') 'url' => route('apps.unzip')
]; ];
// Download // Download
$steps[] = [ $steps[] = [
'text' => trans('modules.installation.install', ['module' => $name]), 'text' => trans('modules.installation.install', ['module' => $name]),
'url' => url('apps/install') 'url' => route('apps.install')
]; ];
return response()->json([ return response()->json([