Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 407 Bytes
require 'ujs_sort_helper'
ActionView::Base.send(:include, UjsSortHelper)
ActionController::Base.send(:include, UjsSortHelper)
# install files
['/public/javascripts', '/public/stylesheets', '/public/images'].each{|dir|
source = File.join(directory,dir)
dest = RAILS_ROOT + dir
FileUtils.cp_r(Dir.glob(source+'/*.*'), dest)
} unless File.exists?(RAILS_ROOT + '/public/javascripts/ujs_sort_helper.js')
Jump to Line
Something went wrong with that request. Please try again.