diff --git a/app/helpers/fckeditor_helper.rb b/app/helpers/applicaiton_helper.rb similarity index 98% rename from app/helpers/fckeditor_helper.rb rename to app/helpers/applicaiton_helper.rb index ef0bd9a..9e078b6 100644 --- a/app/helpers/fckeditor_helper.rb +++ b/app/helpers/applicaiton_helper.rb @@ -1,4 +1,4 @@ -module FckeditorHelper +module ApplicationHelper def fckeditor( object, method, fck_options = { }, options = { } ) # setup fck_options to be passed to js constructor width = fck_options[:width] || 'null' diff --git a/install.rb b/install.rb index c109985..bbe1316 100644 --- a/install.rb +++ b/install.rb @@ -5,6 +5,9 @@ FileUtils.rm(dest_file) rescue nil +FileUtils.touch(File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'public', + 'javascripts', 'fckconfig_custom.js'))) + FileUtils.cp( File.join(File.dirname(__FILE__), 'test', 'functional', 'fckeditor_controller_test.rb'), dest_file