How to have an extension or other string after parameter in Phoenix routes?

前端 未结 0 1363
梦谈多话
梦谈多话 2021-02-18 19:00

I want to have this kind of route :

get "/{:slug}.html", MyController, :show

However Phoenix does not like any syntax for this kind of

相关标签:
回答
  • 消灭零回复
提交回复
热议问题