Revert "Use render template tag instead of overriding renderTemplate in route."

This reverts commit 049284e73c4a9e9cda9e9e6bd092fc179314e4a8.