I have problem in my current API. Android app have app link, I get get_post/slug.html.json
from Android app, that make a no route matches
in API application. I can't fix it in Android app because already on play store to remove .html
.
How can I handle it in routes? so my route can ignore .html
extension and make .html
as slug, so I can remove .html
in controller before query to database