use route instead of calling the controller directly

(fix to previous PR, sorry for that)