ecm_downloads2_backend 1.0.2 → 1.0.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: 81f3aa85cf1748c4d13329426232858407d557e1
|
4
|
+
data.tar.gz: 6d5a2fe76738f0f111fb76970303684781073b0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82cdc9ad1e755c6e9d94a177239224bfa583fe509b6dc839be54d234c2e2a161a210208bd919bd31ff030ab95d872b691381235c2234b540479d0b047e3e8f0c
|
7
|
+
data.tar.gz: 8201ee3d17490f3389a467b8798f5f483a029a34951ae33ba5268388df430744bd560998ff6006ea3ada119cc28cb1c73f4594415b13a8eaa2be179c71dbe874
|
@@ -3,6 +3,11 @@ class Ecm::Downloads::Backend::DownloadsController < Itsf::Backend::Resource::Ba
|
|
3
3
|
Ecm::Downloads::Download
|
4
4
|
end
|
5
5
|
|
6
|
+
def download
|
7
|
+
@download = Ecm::Downloads::Download.friendly.find(params[:id]).decorate
|
8
|
+
redirect_to @download.asset.expiring_url(100)
|
9
|
+
end
|
10
|
+
|
6
11
|
private
|
7
12
|
|
8
13
|
def permitted_params
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecm_downloads2_backend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Vasquez Angel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|