fixed update routes

This commit is contained in:
denisdulici
2020-02-24 15:35:33 +03:00
parent 558b51d588
commit 0bca0ccdf9
3 changed files with 7 additions and 8 deletions

View File

@ -9,9 +9,8 @@ use Illuminate\Http\Request;
class Updates extends Controller
{
/**
* Show the form for creating a new resource.
* Display a listing of the resource.
*
* @return Response
*/
@ -70,13 +69,13 @@ class Updates extends Controller
}
/**
* Update the core or modules.
* Run the update.
*
* @param $alias
* @param $version
* @return Response
*/
public function update($alias, $version)
public function run($alias, $version)
{
if ($alias == 'core') {
$name = 'Akaunting ' . $version;