Module: UeditorRails
- Defined in:
- lib/ueditor_rails.rb,
lib/ueditor_rails/util.rb,
lib/ueditor_rails/engine.rb,
lib/ueditor_rails/version.rb,
lib/ueditor_rails/helpers/form_helper.rb,
lib/ueditor_rails/helpers/view_helper.rb,
lib/ueditor_rails/helpers/form_builder.rb,
app/helpers/ueditor_rails/application_helper.rb,
app/controllers/ueditor_rails/libs_controller.rb,
lib/generators/ueditor_rails/install_generator.rb,
app/controllers/ueditor_rails/dialogs_controller.rb,
app/controllers/ueditor_rails/application_controller.rb
Defined Under Namespace
Modules: ApplicationHelper, Helpers, Util
Classes: ApplicationController, DialogsController, Engine, InstallGenerator, LibsController
Constant Summary
collapse
- VERSION =
'0.0.4'
Class Method Summary
collapse
Class Method Details
.enable_cross_domain ⇒ Object
16
17
18
|
# File 'lib/ueditor_rails.rb', line 16
def enable_cross_domain
@@enable_cross_domain ||= false
end
|
.root_path ⇒ Object
20
21
22
|
# File 'lib/ueditor_rails.rb', line 20
def root_path
@root_path ||= Pathname.new(File.dirname(File.expand_path('../', __FILE__)))
end
|
.ueditor_base_path ⇒ Object
28
29
30
|
# File 'lib/ueditor_rails.rb', line 28
def ueditor_base_path
@ueditor_base_path ||= self.root_path.join('vendor/assets/javascripts/ueditor')
end
|