def update
      @page_comment.attributes = update_page_comment_params
      if @page_comment.valid?
        if @page_comment.changed?
          RailsPageComment.notify_changes_method_name.each do |m|
            self.class.notify_changes_class.send(m, @page_comment).deliver
          end
        end
        @page_comment.save
        render :edit
      else
        render :edit
      end
    end
def update
      @page_comment.attributes = update_page_comment_params
      if @page_comment.valid?
        if @page_comment.changed?
          RailsPageComment.notify_changes_method_name.each do |m|
            self.class.notify_changes_class.send(m, @page_comment).deliver
          end
        end
        @page_comment.save
        render :edit
      else
        render :edit
      end
    end
PATCH/PUT /page_comments/1