mirror of
https://github.com/flextype/flextype.git
synced 2025-08-30 00:10:31 +02:00
- Snippets Controller/Views implementation
This commit is contained in:
@@ -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'));
|
||||
|
Reference in New Issue
Block a user