MAINTENANCE: update laravel, dependencies, fix few bugs
This commit is contained in:
@@ -98,7 +98,7 @@ class EditTemplate extends Controller
|
||||
// try to save content
|
||||
if (!is_writable($customDir) && !is_writable($originalDir)) {
|
||||
return redirect()
|
||||
->route('templates.edit', ['id' => $request->id])
|
||||
->route('templates.edit', ['id' => $template->id])
|
||||
->withInput()
|
||||
->with('warning', trans('admin/templates.cannotWriteContent'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user