Ignore default responds_to behavior

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

NM all, I figured it out. :slight_smile:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs