1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-24 21:56:25 +02:00

refactor(admin-plugin): fix code standard for TemplatesController #347

This commit is contained in:
Awilum
2020-01-09 00:16:23 +03:00
parent b277287c68
commit 567ecdf42e

View File

@@ -132,9 +132,9 @@ class TemplatesController extends Controller
if (isset($post_data['create-and-edit'])) {
return $response->withRedirect($this->router->pathFor('admin.templates.edit') . '?theme=' . $theme . '&type=' . $type . '&id=' . $id);
} else {
return $response->withRedirect($this->router->pathFor('admin.templates.index'));
}
return $response->withRedirect($this->router->pathFor('admin.templates.index'));
}
/**