Commit graph

3 commits

Author SHA1 Message Date
zyachel
0a35cdaa15 feat(route): add new route
add /topic/:slug route both in api as well as in view
2022-05-22 19:35:02 +05:30
zyachel
d8515d5edd refactor: DRY some code related to answers
as there are two routes for answers(/unanswered/:slug and /:slug), and both contained similar code, reduced controllers(for the routes) in api as well as in views to just one controller handling the logic to fetch data.
2022-05-21 12:58:44 +05:30
zyachel
bf4ee2c3cf initial commit 2022-04-17 17:54:23 +05:30