recruiter 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea341c52e303ffd305a2756aef3add6ecd5fd0fe
|
4
|
+
data.tar.gz: afe7b9ca716a7cacef9dcf6a10469598404bc69b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 394ea84234dc1294b77620b53d9b09cd95324117fbfe63737020a14e1201ecb9a1a041034e8d9ce27414dfe66e7b40f98494ce6392e2092fc6246a050b68ed05
|
7
|
+
data.tar.gz: de2651580b4e28fb61344dafbed8ecf691151d717a77279c202fec9277f9a9403a3da7aaf8c713264600bc1afcc021e7b87a8e09b5c063e39454923465c58e77
|
@@ -5,36 +5,36 @@ module Recruiter
|
|
5
5
|
|
6
6
|
def index
|
7
7
|
@articles = scope.page(page).per(per_page)
|
8
|
-
respond_with(@articles)
|
8
|
+
respond_with(:user, @articles)
|
9
9
|
end
|
10
10
|
|
11
11
|
def show
|
12
|
-
respond_with(@article)
|
12
|
+
respond_with(:user, @article)
|
13
13
|
end
|
14
14
|
|
15
15
|
def new
|
16
16
|
@article = scope.build
|
17
|
-
respond_with(@article)
|
17
|
+
respond_with(:user, @article)
|
18
18
|
end
|
19
19
|
|
20
20
|
def create
|
21
21
|
@article = scope.build(article_params)
|
22
22
|
crud_flash @article.save
|
23
|
-
respond_with(@article)
|
23
|
+
respond_with(:user, @article)
|
24
24
|
end
|
25
25
|
|
26
26
|
def edit
|
27
|
-
respond_with(@article)
|
27
|
+
respond_with(:user, @article)
|
28
28
|
end
|
29
29
|
|
30
30
|
def update
|
31
31
|
crud_flash @article.update(article_params)
|
32
|
-
respond_with(@article)
|
32
|
+
respond_with(:user, @article)
|
33
33
|
end
|
34
34
|
|
35
35
|
def destroy
|
36
36
|
crud_flash @article.destroy
|
37
|
-
respond_with(@article)
|
37
|
+
respond_with(:user, @article)
|
38
38
|
end
|
39
39
|
|
40
40
|
private
|
data/lib/recruiter/version.rb
CHANGED