Forum: Ruby on Rails Reverting to default template

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.
Pete (Guest)
on 2007-08-01 07:45
(Received via mailing list)
When I override a standard method and put it in my controller, Rails
also wants a corresponding template to go with it.  The default
template would be fine and I would rather use it than hand craft my
own.  How to I tell Rails to use the default template even though I
have overridden a method in my controller?

For example If I add a "list" method to my controller, Rails also
expects for me to create a list.rhtml but I really don't need to
modify the default template because it would be fine.

Is there a way to do this?

Pete
This topic is locked and can not be replied to.