Ignore default responds_to behavior


#1

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


#2

NM all, I figured it out. :slight_smile: