What is the use of the routes.yaml file that is within the theme folder

What is the purpoe of the routes.yaml file that is located inside the theme folder. There doesn’t seem to be any effect if I change things there. Changes only happen when I edit the routes.yaml file in the settings folder. Is it there just as a reference ?

Hi @lallenfrancisl,

you’re right.
There is no purpose for the routes.yaml file in the theme folder.
They are included in the theme folder to show you any existing routes within this theme.

Take the Lyra Theme for example:

The included routes file shows you the logic e.g (domain.com/signup/ takes me to the signup.hbs that lies in the members folder), so you don’t have to guess, how the theme is supposed to work:

  /signup/: members/signup
  /signin/: members/signin
  /account/: members/account

    permalink: /{slug}/
    template: index

  tag: /tag/{slug}/
  author: /author/{slug}/

Thank you Daniel. I was confused seeing nothing happen