Forum: Ruby on Rails set custom respond_to in action_controllers.

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.
5e8fd591aeccbffd6fc93c171ac4fa43?d=identicon&s=25 Aaron Smith (warhero)
on 2007-07-17 04:14
how can I set custom respond to types.. and custom render methods.

like:

respond_to do |format|
  format.myformat { render :customRender => content }
end

thank you.
-Aaron
This topic is locked and can not be replied to.