ncuesta / dropzonejs-rails

Spice your Rails apps with some Dropzone sugar!
http://rubygems.org/gems/dropzonejs-rails
MIT License
311 stars 56 forks source link

Actual example in README please? #11

Closed corysimmons closed 10 years ago

corysimmons commented 10 years ago

I'd like to use Dropzone in Rails but it keeps throwing a Rails "missing template" error. I'm not sure what I'm doing wrong exactly but I'd really like to use this so could you expand on the README with a usage example.

ncuesta commented 10 years ago

This gem does not provide any templates, so the error you're getting should come from a different source.. Have you created the template file for the action you're accessing within the controller's views in your Rails project?

corysimmons commented 10 years ago

Yes but I think my team members have built the app so that it expects json and it seems like Dropzone is returning HTML. Thoughts?

ncuesta commented 10 years ago

Mm.. then you need to take a look at Dropzone's options. That's not related to this gem, more like a Dropzone configuration issue..

corysimmons commented 10 years ago

Alright. Thanks