dropzone 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: f384e6abc41faa908f2bbb5f2ff2ef15ae3fc560
4
- data.tar.gz: 06d67b5bd128106faba36ae5563e3f1c2ee3e926
3
+ metadata.gz: de444d27dc59cce8233315f0f6428153e9bc19e7
4
+ data.tar.gz: 87223b03da98b364da6fb8b940f6457b79d285c9
5
5
  SHA512:
6
- metadata.gz: c2cfa0e973efc7ac9387e6de0d068daadc1187b567ca11557dc565969f9b67c63a5290179204059387118895a777311ac166d7f5d8fade178b29750c4964ba48
7
- data.tar.gz: cc76b9fe2faf943af0526b2a102235e94025a9279f40b397835e2454a20a44fffdc6575abcc3770950c8482fa42a277484a77122b1be19f241c9013ee3659456
6
+ metadata.gz: 089fe2702d5c434705508e2f57841a2155a0d37f880f2d4765605ff5a8fc7a31723d59e9b1c17a0f606c5ee6a356e6e897a1d862a2f431341ce5e5cd804176bf
7
+ data.tar.gz: 16e469d17535cead98a00cd3731d983f891ac8546f18b7dc36e066d688ecce87a9eb8a580a7712665ca4fc1403045c639a2ef9a3a4b539e981797c6625d8b661
@@ -3,7 +3,7 @@ module Dropzone
3
3
  module Helpers
4
4
 
5
5
  def dropzone(entity, profile)
6
- url = dropzone_engine.url_for :controller => 'dropzone/profiles', :action => 'info', :format => :json, :profile_id => profile.to_s, :entity_id => entity.id
6
+ url = Dropzone::Engine.routes.url_for :controller => 'dropzone/profiles', :action => 'info', :only_path => true, :format => :json, :profile_id => profile.to_s, :entity_id => entity.id
7
7
  raw("<div class='dropzone-ui' data-url='#{url}'></div>")
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dropzone
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Strebitzer