def update
      @article = Article.find(params[:id])

      respond_to do |format|
        if @article.update_attributes(article_params)