flatiron/director

after is not called with route params

Opened this issue · 2 comments

How come the after method isn't called with the route params?

For instance, I would expect the after method of my /documents/:id handler to be called with id as an argument so I could call clean-up code with the id.

I have the same question

image

I decide to use this method to slove the problem. Storage the route and get it in after method