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: 541a039e9c92945712dbc22d05c31ec40850759d
4
- data.tar.gz: 00e6db32d47dabed7ca05ae1831d99de67a40c2d
3
+ metadata.gz: ea341c52e303ffd305a2756aef3add6ecd5fd0fe
4
+ data.tar.gz: afe7b9ca716a7cacef9dcf6a10469598404bc69b
5
5
  SHA512:
6
- metadata.gz: 29b686ff86bf5d77127ef19c53e79c293347b8e5b66c93ef38b29cff5ee83e1a2552ea8343bf72be88647c59bf2c7cbb08ef3400c2bdb3115a6a33fe06652f9f
7
- data.tar.gz: f5ebdc621b73e6e2aa890107d9657335cc7711ae3a52d12547f1a1bca674b8708cc9ea4c882e675e47ecc3848c62de5b6d0ed70b5638a927f7e83f7d7feb26b8
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
@@ -1,3 +1,3 @@
1
1
  module Recruiter
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recruiter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcelo Jacobus