Fork me on GitHub
Mark McWiggins05:05:49

question about chained {:post ] URLS ... the first one works OK but I need a parameter "carried through" to the next URL so it can be displayed on that page ... anybody got an example of this for the home.clj routes source for Luminus?


You can add data to the :flash key of the response, and then access that data in the next handler. Here's what it looks like with the food guessing game app: Explanation of :flash in the Luminus docs: The :flash key is used in the demo guestbook app as a way to give feedback on errors in a form: