Chore: Consolidate multiple get routes into a single resources declaration for static pages #4855
Open
3 of 7 tasks
Labels
Type: Chore
Involves changes with no user-facing value, to the build process/internal tooling, refactors, etc.
Checks
Chore: brief description of chore
format, e.g.Chore: Lesson complete button does not update on click
Chore description
Currently, the routes for static pages like
home
,about
,faq
,team
,contributing
,support_us
,terms_of_use
,privacy-policy
, andsuccess_stories
are declared individually using separateget
statements in theroutes.rb file
. This approach can become cumbersome as the application grows and additional static pages are added. Refactoring these routes to use a single resources or scope declaration for thestatic_pages
controller will streamline the routing configuration, improve readability, and make it easier to manage.Acceptance criteria
get
routes for static pages (home
,about
,faq
,team
,contributing
,support_us
,terms_of_use
,privacy-policy
, andsuccess_stories
) with a single scope declaration forstatic_pages
.Additional Comments
No response
The text was updated successfully, but these errors were encountered: