404 error after creating a route & controller

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Clarity
    Junior Member
    • Feb 2021
    • 3

    404 error after creating a route & controller

    I followed the documentation and created files in paths custom/Espo/Custom/Resources/metadata/clientDefs/Account.json and client/custom/src/controllers/account.js, but 404 error still appears when I go to #Account/hello path (my full path is 127.0.0.1/espocrm/#Account/hello). What might I do wrong?
  • Clarity
    Junior Member
    • Feb 2021
    • 3

    #2
    It seems that I forgot to clean cache. Problem resolved now.

    Comment

    • Clarity
      Junior Member
      • Feb 2021
      • 3

      #3
      Now I have a problem with part 2 (custom route) of this documentation. This time I created a file and cleared a cache, but still error 404 appears. What's wrong?

      Comment

      Working...