class PostsController < ApplicationController self.responder = AppResponder respond_to :html def index @posts = [] respond_with(@posts) end end