# How to use view\_paths() and why you need to use

**URL:** <https://www.ruby-forum.com/t/how-to-use-view-paths-and-why-you-need-to-use/172393>\
**Category:** Rails\
**Created:** [July 21, 2009, 12:32am UTC](https://www.ruby-forum.com/t/how-to-use-view-paths-and-why-you-need-to-use/172393 "2009-07-21T00:32:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/7bcc69/32.png) [@pal](https://www.ruby-forum.com/u/pal)\
**Post date:** [July 21, 2009, 12:32am UTC](https://www.ruby-forum.com/t/how-to-use-view-paths-and-why-you-need-to-use/172393/1 "2009-07-21T00:32:39Z")

</div>

how to use view\_paths() and why you need to use. What is the  
purpose. can you explain and give some sample code.
