respond_with

gerbdla
2011-05-04T16:48:22Z

Trying to get a handle on the respond_with method.  I have an action
like this in my current rails 2

respond_to do |format |
			format.html {render}
			format.js { render :layout => false}
end

how would I make this into a respond_with

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at