# Ignore default responds\_to behavior

**URL:** <https://www.ruby-forum.com/t/ignore-default-responds-to-behavior/157373>\
**Category:** Rails\
**Created:** [January 10, 2009, 4:02am UTC](https://www.ruby-forum.com/t/ignore-default-responds-to-behavior/157373 "2009-01-10T04:02:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ce73a5/32.png) [@tim](https://www.ruby-forum.com/u/tim)\
**Post date:** [January 10, 2009, 4:02am UTC](https://www.ruby-forum.com/t/ignore-default-responds-to-behavior/157373/1 "2009-01-10T04:02:55Z")

</div>

Hi everyone,

I’m trying to ignore the default behavior of  
respond\_to…format.html. Let me explain. By default def index  
loads the index.html.erb view, I created a new method called def  
show\_open\_tickets, well I don’t want to create a whole new view just  
to see this data, it will be redundant, the index view is what I want  
to use, I’m just changing the filtering options.

So is there a way to make my def load the index view and not the view  
with the same name as the def?

Thanks

---

<div class="post-metadata">

**Author:** ![tim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ce73a5/32.png) [@tim](https://www.ruby-forum.com/u/tim)\
**Post date:** [January 10, 2009, 3:21pm UTC](https://www.ruby-forum.com/t/ignore-default-responds-to-behavior/157373/2 "2009-01-10T15:21:12Z")

</div>

NM all, I figured it out. 🙂
