On 21/02/2011, at 17:29 , Mike Bailey wrote:

> Can't you just put 
> 
> respond_to :html, :json
> 
> at the top of your controller?

+1 to what Mike said.

-- 
cheers, 
Mike Williams

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to