Forum: Ruby on Rails Ignore default responds_to behavior

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
5c504a3534ec5a2e7665ba2f4be2b62c?d=identicon&s=25 Tim (Guest)
on 2009-01-10 04: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?

Thanks
5c504a3534ec5a2e7665ba2f4be2b62c?d=identicon&s=25 Tim (Guest)
on 2009-01-10 15:21
(Received via mailing list)
NM all, I figured it out. :)
This topic is locked and can not be replied to.