app/controllers/wiki/pages_controller.rb in tawork-0.0.29 vs app/controllers/wiki/pages_controller.rb in tawork-0.0.30

- old
+ new

@@ -106,15 +106,17 @@ end def add_tag @page.tag_list.add(params[:tag]) @page.save + @page.__elasticsearch__.index_document render json: {} end def remove_tag @page.tag_list.remove(params[:tag]) @page.save + @page.__elasticsearch__.index_document render json: {} end def destroy parent = @page.parent