Implement snip content names
This commit is contained in:
@ -104,7 +104,11 @@ class SnipController extends AbstractController
|
||||
]);
|
||||
}
|
||||
$this->repository->save($snip);
|
||||
$contentService->update($snip, $form->get('content')->getData());
|
||||
$contentService->update(
|
||||
$snip,
|
||||
$form->get('content')->getData(),
|
||||
$form->get('contentName')->getData()
|
||||
);
|
||||
|
||||
$this->addFlash('success', sprintf('Snip "%s" saved', $snip));
|
||||
|
||||
|
Reference in New Issue
Block a user