Sha256: 3bbf7ec90758b18beac311466b5b56641f6ebe202b97535234b540cf59b76742
Contents?: true
Size: 610 Bytes
Versions: 2
Compression:
Stored size: 610 Bytes
Contents
module TinyMCE end # Require all the necessary files to run TinyMCE require 'tiny_mce/controller.rb' require 'tiny_mce/options_validator' require 'tiny_mce/spellchecker' require 'tiny_mce/helpers' # Load up the available configuration options (we do it here because # the result doesn't, so we don't want to load it per request) TinyMCE::OptionValidator.load # Include the TinyMCE methods and TinyMCE Helpers into ActionController::Base if defined?(Rails) && defined?(ActionController) ActionController::Base.send(:include, TinyMCE::Controller) ActionController::Base.send(:helper, TinyMCEHelpers) end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
krasivotokak-tiny_mce-0.0.2 | lib/tiny_mce.rb |
tiny_mce-0.0.2 | lib/tiny_mce.rb |