Closed endorfin closed 11 years ago
@endorfin - where is the reference to http://localhost:3000/snippets/ZeroClipboard.swf
coming from? Is this something you have hard coded yourself?
nothing hard coded, the moviePath was not set
var clip = new ZeroClipboard( btn, {
moviePath: '/assets/ZeroClipboard.swf'
});
now it works!
@endorfin - hmm, this should automatically be set if you require
as suggested:
//= require zeroclipboard
Presumably you're not compiling the assets in the usual way?
Hi,
i have the following problem: I am on my snippet detail page:
when i click on my copy button, i get an 404 error
the ZeroClipboard.swf is accessible under ...
what is wrong?
using: Rails 3.2.9