direct_to_template deprecated