def update
      @page = Page.find(params[:id])

      respond_to do |format|
        if @page.update_attributes(params[:page])