# Specify Alternate View

**URL:** <https://www.ruby-forum.com/t/specify-alternate-view/131594>\
**Category:** Rails\
**Created:** [March 11, 2008, 7:08pm UTC](https://www.ruby-forum.com/t/specify-alternate-view/131594 "2008-03-11T19:08:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sean\_CSHess](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/94ad74/32.png) [@Sean\_CSHess](https://www.ruby-forum.com/u/Sean_CSHess)\
**Post date:** [March 11, 2008, 7:08pm UTC](https://www.ruby-forum.com/t/specify-alternate-view/131594/1 "2008-03-11T19:08:30Z")

</div>

This may not be the right way to do this, but I already made a “list”  
action with a view corresponding to it.

Now, I’m trying to make the “search” action, and I want it to use the  
view I made for list. What is the right way to do this?

Thanks

---

<div class="post-metadata">

**Author:** ![Sean\_CSHess](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/94ad74/32.png) [@Sean\_CSHess](https://www.ruby-forum.com/u/Sean_CSHess)\
**Post date:** [March 11, 2008, 8:21pm UTC](https://www.ruby-forum.com/t/specify-alternate-view/131594/2 "2008-03-11T20:21:28Z")

</div>

Sean C. Hess wrote:

> 

at the end of your search action, call…  
render :action =\> ‘list’

–  
[http://www.5valleys.com/](http://www.5valleys.com/)  
[http://www.workingwithrails.com/person/8078](http://www.workingwithrails.com/person/8078)

---

<div class="post-metadata">

**Author:** ![Sean\_CSHess](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/94ad74/32.png) [@Sean\_CSHess](https://www.ruby-forum.com/u/Sean_CSHess)\
**Post date:** [March 11, 2008, 8:38pm UTC](https://www.ruby-forum.com/t/specify-alternate-view/131594/3 "2008-03-11T20:38:56Z")

</div>

Awesome, thanks
