# Add a template besides destroy.js.rjs

**URL:** <https://www.ruby-forum.com/t/add-a-template-besides-destroy-js-rjs/120773>\
**Category:** Rails\
**Created:** [November 20, 2007, 3:16pm UTC](https://www.ruby-forum.com/t/add-a-template-besides-destroy-js-rjs/120773 "2007-11-20T15:16:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![martijn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/dbc845/32.png) [@martijn](https://www.ruby-forum.com/u/martijn)\
**Post date:** [November 20, 2007, 3:16pm UTC](https://www.ruby-forum.com/t/add-a-template-besides-destroy-js-rjs/120773/1 "2007-11-20T15:16:52Z")

</div>

Hi there,

I have an rjs template to display status messages, and I want to load  
this template in my destroy function.  
It automatically loads destroy.js.rjs, but i want to load shared/  
message.js.rjs as well. How can I do this?

thanks,  
Martijn
