# Benefit of RJS in views over controller

**URL:** <https://www.ruby-forum.com/t/benefit-of-rjs-in-views-over-controller/89917>\
**Category:** Rails\
**Created:** [March 23, 2007, 7:33pm UTC](https://www.ruby-forum.com/t/benefit-of-rjs-in-views-over-controller/89917 "2007-03-23T19:33:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jko170](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/d07c76/32.png) [@jko170](https://www.ruby-forum.com/u/jko170)\
**Post date:** [March 23, 2007, 7:33pm UTC](https://www.ruby-forum.com/t/benefit-of-rjs-in-views-over-controller/89917/1 "2007-03-23T19:33:02Z")

</div>

For me, it seems like putting RJS in the controller is more organized  
than putting it in the views just because there is less files to deal  
with. Are there any real benefits for putting RJS in views rather than  
the controller?
