Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Commit f40e848

Browse files
authored
Merge pull request #34 from paiindustries/feature/testimonial
Feature/testimonial
2 parents 90d9c49 + a8e7332 commit f40e848

6 files changed

Lines changed: 812 additions & 8 deletions

File tree

app/config/routes.cfm

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,15 @@
7878
.post(name = "user-updatePassword", pattern = "user/update-Password", to = "web.userController##updatePassword")
7979
.get(name = "user-update-profile-pic", pattern = "user/update-profile-pic", to = "web.userController##updateProfilePic")
8080
.post(name = "user-upload-profile-pic", pattern = "user/upload-profile-pic", to = "web.userController##uploadProfilePic")
81+
82+
// Testimonial-specific routes
83+
.get(name="check_testimonial", pattern="testimonials/check", to="testimonials##check")
84+
.get(name="approve_testimonial", pattern="testimonials/approve/[key]", to="testimonials##approve")
85+
.get(name="feature_testimonial", pattern="testimonials/feature/[key]", to="testimonials##feature")
86+
.get(name="delete_testimonial", pattern="testimonials/delete/[key]", to="testimonials##delete")
87+
88+
// routes for testimonials
89+
.resources("testimonials")
8190
.end()
8291
8392
.namespace("")

0 commit comments

Comments
 (0)