fixtures/rails3/app/controllers/posts_controller.rb in rabl-0.6.1 vs fixtures/rails3/app/controllers/posts_controller.rb in rabl-0.6.2
- old
+ new
@@ -1,6 +1,6 @@
class PostsController < ApplicationController
- respond_to :json
+ respond_to :json, :xml
def index
@posts = Post.all(:order => "id ASC")
end