Custom route filter [solved]


#1

Hello. What if i want to create my own route fiilter? Is there any non-hacking way to do it? Like ajaxOnly() or something like this. I know that middleware functional is quite similar, but they are not that fancy. Thank you.
P.S. Is that a thing? http://www.adonisjs.com/docs/4.1/routing#_extending_routes

Should be more attentive, sorry. Maybe this section should be mentioned in filtering resources section?