def index
      @achievements = Achievement.all

      respond_to do |format|
        format.html # index.html.erb
        format.xml  { render :xml => @achievements }
      end
    end
def index
      @achievements = Achievement.all

      respond_to do |format|
        format.html # index.html.erb
        format.xml  { render :xml => @achievements }
      end
    end
GET /achievements
 GET /achievements.xml