locomotive_cms 0.0.4.beta2 → 0.0.4.beta3
Sign up to get free protection for your applications and to get access to all the features.
@@ -43,8 +43,8 @@ module Admin
|
|
43
43
|
|
44
44
|
def store_zipfile!
|
45
45
|
file = CarrierWave::SanitizedFile.new(params[:zipfile])
|
46
|
-
file.copy_to(File.join(Rails.root, 'tmp', 'files', current_site.id.to_s, file.filename))
|
47
|
-
|
46
|
+
new_file = file.copy_to(File.join(Rails.root, 'tmp', 'files', current_site.id.to_s, file.filename))
|
47
|
+
new_file.path
|
48
48
|
end
|
49
49
|
|
50
50
|
end
|
data/lib/locomotive/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: locomotive_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: -
|
4
|
+
hash: -1848230053
|
5
5
|
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
9
|
- 4
|
10
|
-
-
|
11
|
-
version: 0.0.4.
|
10
|
+
- beta3
|
11
|
+
version: 0.0.4.beta3
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Didier Lafforgue
|