This line and addition of template_name to allowed_variables hash on line 80 look sufficient to me. I'm not sure why changes in app/controllers/unattended_controller.rb are needed.