Fix bag in template route controller