Put controller patch in ActionDispatch prepare