What approach do you take for embedding links in flash messages?

后端 未结 3 1000
夕颜
夕颜 2020-12-24 13:29

The ability to have flash messages (notice, error, warning, etc) with embedded links is nice from a user interaction standpoint. However, embedding an anchor tag inside a f

3条回答
  •  执笔经年
    2020-12-24 13:59

    You could create a helper method to render out partials based on the value passed back in the flash message.

提交回复
热议问题