close #404 Fixed: Apps are not updating
This commit is contained in:
parent
5a682b9475
commit
f0e48521d4
@ -22,7 +22,7 @@ class Modules extends Controller
|
|||||||
return $s;
|
return $s;
|
||||||
})->pluck('value', 'key');
|
})->pluck('value', 'key');
|
||||||
|
|
||||||
$module = Module::get($alias);
|
$module = Module::findByAlias($alias);
|
||||||
|
|
||||||
return view('settings.modules.edit', compact('setting', 'module'));
|
return view('settings.modules.edit', compact('setting', 'module'));
|
||||||
}
|
}
|
||||||
|
@ -70,7 +70,7 @@ class Updater
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Get module instance
|
// Get module instance
|
||||||
$module = Module::get($alias);
|
$module = Module::findByAlias($alias);
|
||||||
$model = Model::where('alias', $alias)->first();
|
$model = Model::where('alias', $alias)->first();
|
||||||
|
|
||||||
// Move all files/folders from temp path
|
// Move all files/folders from temp path
|
||||||
|
Loading…
x
Reference in New Issue
Block a user