cruj_cruj_cruj 0.0.9 → 0.0.10

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: e16de308cceca7bf17bc9f0efe7983115ea7b041
4
- data.tar.gz: 8a591bc0aaa7a137cc814c897821396e9a65df7a
3
+ metadata.gz: a8b955cb852816c5677335be696e5ec1820b0c0d
4
+ data.tar.gz: 2e55d0a851cc8d10ee5c190c8eab4c518cea1d7e
5
5
  SHA512:
6
- metadata.gz: fd7301bc71fe6bb9a1267e903bae5dd28cb297f725f843ca1f2e9a2688d2ef6474a9f84d18f1dd009abb93ae69d3f9523d4e6b7adea431068e7e28b9ba6798cc
7
- data.tar.gz: 3a5ac68d29c8633fcbb0ddb8f55f3ec8f8a19bf04414a03d5d82fcc57d5c9f5909338f57c5b05a000e7649867d52407cf526f76e584ab5e964be67bd10fb0b2d
6
+ metadata.gz: 0917249ef28b435372e4d65489d7dea965c9d91ebfdd82cd097ed38f07278943c255e2b794d50e8d93a71b464d86cd64d91ef045e8d00513c5b6a4170656fb8f
7
+ data.tar.gz: beca3b7dcee9ee00a77589fdb996f6cd7bae6091f017abf7a794c21de7501af456bbb4f1f472c23364fe5ad02a9c07ad50632117568bd08e0238f6caab42878a
@@ -57,7 +57,7 @@ class CrujCrujCrujController < ApplicationController
57
57
 
58
58
  def import
59
59
  if params[:file].blank?
60
- redirect_to atribuicao_automaticas_url, {flash: {error: l(:no_file_to_import_error_message)}}
60
+ redirect_to url_for(action: :index, controller: params[:controller]), {flash: {error: l(:no_file_to_import_error_message)}}
61
61
  return
62
62
  end
63
63
 
@@ -67,7 +67,7 @@ class CrujCrujCrujController < ApplicationController
67
67
  redirect_to url_for(action: :index, controller: params[:controller]), notice: l(:import_success_message)
68
68
  return
69
69
  end
70
- redirect_to atribuicao_automaticas_url, flash: { import_errors: errors.join('<br />') }
70
+ redirect_to url_for(action: :index, controller: params[:controller]), flash: { import_errors: errors.join('<br />') }
71
71
  end
72
72
 
73
73
  protected
@@ -1,3 +1,3 @@
1
1
  module CrujCrujCruj
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cruj_cruj_cruj
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Campos