October CMS | In the controller, create edit button on preview.htm which then links to update.htm with the same ID
问题 So what I want to do is, from the backend, click on a list item which then, rather than take you to /mymodel/update/id, it takes you to /mymodel/preview/id. The preview page will then have a button which takes you to /mymodel/update/id which matches the ID as /mymodel/preview/id. I have achieved the first part by changing the config_list.yaml by using 'recordUrl: 'namespace/myplugin/mymodel/preview/:id'.' However, I cannot seem to find a way to make a button which is then aware of the ID of