1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-30 00:10:31 +02:00

Flextype Box Plugin: Admin #125 #117

- Snippets Controller/Views implementation
This commit is contained in:
Awilum
2019-05-29 01:11:58 +03:00
parent f413967297
commit f76afa95f2

View File

@@ -82,7 +82,7 @@ class SnippetsController extends Controller
public function editProcess($request, $response, $args)
{
if ($this->snippets->update($request->getParsedBody()['id']), $request->getParsedBody()['data'])) {
if ($this->snippets->update($request->getParsedBody()['id'], $request->getParsedBody()['data'])) {
$this->flash->addMessage('success', __('admin_message_snippets_saved'));
} else {
$this->flash->addMessage('error', __('admin_message_snippets_was_not_saved'));