Sha256: 31c23b6fdfb20a1d6e39c9c7c4cd1d01b69fa166fa14d54a08c26a37cd621d34
Contents?: true
Size: 739 Bytes
Versions: 2
Compression:
Stored size: 739 Bytes
Contents
require "ueditor_rails/engine" module UeditorRails autoload :Util, 'ueditor_rails/util' module Helpers autoload :ViewHelper, 'ueditor_rails/helpers/view_helper' autoload :FormHelper, 'ueditor_rails/helpers/form_helper' autoload :FormBuilder, 'ueditor_rails/helpers/form_builder' end mattr_accessor :enable_cross_domain class<< self def enable_cross_domain @@enable_cross_domain ||= false end def root_path @root_path ||= Pathname.new(File.dirname(File.expand_path('../', __FILE__))) end def assets @assets ||= Util.precompile_assets end def ueditor_base_path @ueditor_base_path ||= self.root_path.join('vendor/assets/javascripts/ueditor') end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
ueditor_rails4-0.0.5 | lib/ueditor_rails4.rb |
ueditor_rails-0.0.4 | lib/ueditor_rails.rb |