Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

8 lines (8 sloc) 0.298 kb
# Uninstall hook code here
puts "Deleting files..."
dir = "javascripts"
%w[jquery.rest_in_place.js mootools.rest_in_place.js rest_in_place.js].each do |js_file|
dest_file = File.join(RAILS_ROOT, "public", dir, js_file)
FileUtils.rm(dest_file)
end
puts "Files deleted - Uninstallation complete!"
Jump to Line
Something went wrong with that request. Please try again.