lombardpress/lombardpress-web

resource short Ids with "periods" in them cause problems with rails routes

Opened this issue · 0 comments

Note that resource short Ids with "periods" in them cause problems with rails routes.

I resolved this for the text/info route by adding a constraint.

It is likely that this constraint needs to be added to each route that takes an resource id as a parameters.

It would be best if this constraint were added in a smart way, one time without repetition. This will likely require some refactoring of how routes are currently coded.