mirror of
https://github.com/flextype/flextype.git
synced 2025-08-24 13:52:56 +02:00
refactor(admin-plugin): fix code standard for SnippetsController #347
This commit is contained in:
@@ -100,9 +100,9 @@ class SnippetsController extends Controller
|
||||
|
||||
if (isset($post_data['create-and-edit'])) {
|
||||
return $response->withRedirect($this->router->pathFor('admin.snippets.edit') . '?id=' . $id);
|
||||
} else {
|
||||
return $response->withRedirect($this->router->pathFor('admin.snippets.index'));
|
||||
}
|
||||
|
||||
return $response->withRedirect($this->router->pathFor('admin.snippets.index'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user