Allowing /component/<template_id> to work as a route