Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tree-types): update links from create, edit and delete (#168)
This pull request includes changes to the URLs in several files to ensure they follow a consistent structure by adding the `/admin` prefix. The most important changes include updates to the `Create`, `Edit`, and `TreeTypes` views. URL updates for consistency: * [`src/app/Views/Admin/TreeType/Create.php`](diffhunk://#diff-b5fc91cbc00701c4904cf5380e8153db0cb8385cb26d21626594cd6c5947df06L2-R2): Updated the form action URL to `/admin/tree-type/store` and the back link URL to `/tree-types/`. [[1]](diffhunk://#diff-b5fc91cbc00701c4904cf5380e8153db0cb8385cb26d21626594cd6c5947df06L2-R2) [[2]](diffhunk://#diff-b5fc91cbc00701c4904cf5380e8153db0cb8385cb26d21626594cd6c5947df06L14-R14) * [`src/app/Views/Admin/TreeType/Edit.php`](diffhunk://#diff-9d33f489f9fadfeea6be89d03ffc68c7262d2cd5622b87c8f986b4e05cd688a3L14-R14): Updated the form action URL to `/admin/tree-type/<?php echo htmlspecialchars($tree_type->getId()); ?>/update`. * [`src/app/Views/Admin/TreeTypes.php`](diffhunk://#diff-063db1f485a6804bc273aa41160539af023ba642015a5e863be861f5935ded2bL15-R15): Updated the URLs for creating, editing, and deleting tree types to include the `/admin` prefix. [[1]](diffhunk://#diff-063db1f485a6804bc273aa41160539af023ba642015a5e863be861f5935ded2bL15-R15) [[2]](diffhunk://#diff-063db1f485a6804bc273aa41160539af023ba642015a5e863be861f5935ded2bL49-R49) [[3]](diffhunk://#diff-063db1f485a6804bc273aa41160539af023ba642015a5e863be861f5935ded2bL58-R58)
- Loading branch information