tawork 0.0.29 → 0.0.30
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmQ3N2QyZWZjZmU4N2YxNzBkMDZhMTE1MDU5ZTM1NmRlYTVhN2IyYg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
M2M1OGNmZjA1Y2JmMjYwNDNiM2QzY2ExOTM5YmNjOWYzMzEzZDA4MQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NGQ5OTc1NWI3ZmNhOTg1OGJkYzUzZjU5NDY5NTY1OGY1NDVmNDA2ODZlM2Y4
|
10
|
+
ZjJlOGQxNjkzMzNmYWVlZTdhYTg1NWI0MTJkOWI3ZjJmZjYzZGE1YjhmOWVh
|
11
|
+
YmExOWIxZmM2YTUyNGM2MDdjYmFjNGRhMGI3YTRiZDAyMTcxODE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Mjg4ZDA0YzBlYmY2MDU1YzMxZWFjYTE3MzRmNGQyNzk0ZDllMDhkYmZkYTE4
|
14
|
+
YjFjMzJhMWRmZDhiOTRkODc3ZmU3ZGFlYWQxMGNkZmNjYzQ4NzcwMGM2YWI4
|
15
|
+
Y2IzNWQ5NWU1NDllMzViYmYwNTE2NTdiNjI3MDhiYzEwNmRjMzI=
|
@@ -108,12 +108,14 @@ class Wiki::PagesController < ApplicationController
|
|
108
108
|
def add_tag
|
109
109
|
@page.tag_list.add(params[:tag])
|
110
110
|
@page.save
|
111
|
+
@page.__elasticsearch__.index_document
|
111
112
|
render json: {}
|
112
113
|
end
|
113
114
|
|
114
115
|
def remove_tag
|
115
116
|
@page.tag_list.remove(params[:tag])
|
116
117
|
@page.save
|
118
|
+
@page.__elasticsearch__.index_document
|
117
119
|
render json: {}
|
118
120
|
end
|
119
121
|
|
@@ -2,10 +2,6 @@
|
|
2
2
|
%li
|
3
3
|
%a.edit{href: "#", data: {toggle: "tooltip", placement: "top"}, title: "Edit"}
|
4
4
|
%i.fa.fa-edit
|
5
|
-
%li
|
6
|
-
%a.cancel{href: "#", data: {toggle: "tooltip", placement: "top"}, title: "Cancel Edit", style: "display: none;"}
|
7
|
-
%i.fa.fa-minus-circle
|
8
|
-
|
9
5
|
|
10
6
|
%li
|
11
7
|
%a.save{href: "#", data: {type: "PUT", url: wiki_page_path(@page), toggle: "tooltip", placement: "top"}, title: "Save", style: "display: none;"}
|
@@ -22,3 +18,8 @@
|
|
22
18
|
%li
|
23
19
|
= link_to new_wiki_page_path(parent_id: @page.id), data: {toggle: "tooltip", placement: "top"}, title: "New Subpage" do
|
24
20
|
%i.fa.fa-file-text-o
|
21
|
+
|
22
|
+
%li
|
23
|
+
%a.cancel{href: "#", data: {toggle: "tooltip", placement: "top"}, title: "Cancel Edit", style: "display: none; color: red;"}
|
24
|
+
%i.fa.fa-minus-circle
|
25
|
+
|
data/lib/tawork/version.rb
CHANGED