Forum: Ruby on Rails Ignore default responds_to behavior

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Tim (Guest)
on 2009-01-10 05:02
(Received via mailing list)
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?

Tim (Guest)
on 2009-01-10 16:21
(Received via mailing list)
NM all, I figured it out. :)
This topic is locked and can not be replied to.