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 +4 -4
- data/app/controllers/cruj_cruj_cruj_controller.rb +2 -2
- data/lib/cruj_cruj_cruj/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8b955cb852816c5677335be696e5ec1820b0c0d
|
4
|
+
data.tar.gz: 2e55d0a851cc8d10ee5c190c8eab4c518cea1d7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
70
|
+
redirect_to url_for(action: :index, controller: params[:controller]), flash: { import_errors: errors.join('<br />') }
|
71
71
|
end
|
72
72
|
|
73
73
|
protected
|