Module: Lexxy
- Defined in:
- lib/lexxy.rb,
lib/lexxy/engine.rb,
lib/lexxy/version.rb,
lib/lexxy/attachable.rb,
lib/lexxy/form_helper.rb,
lib/lexxy/form_builder.rb,
lib/lexxy/action_text_tag.rb,
lib/lexxy/rich_text_area_tag.rb
Defined Under Namespace
Modules: ActionTextTag, Attachable, FormBuilder, FormHelper, TagHelper Classes: Engine
Constant Summary collapse
- VERSION =
"0.8.0.beta"
Class Method Summary collapse
Class Method Details
.override_action_text_defaults ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/lexxy.rb', line 5 def self.override_action_text_defaults ActionText::TagHelper.module_eval do alias_method :rich_textarea_tag, :lexxy_rich_textarea_tag alias_method :rich_text_area_tag, :lexxy_rich_textarea_tag end ActionView::Helpers::FormHelper.module_eval do alias_method :rich_textarea, :lexxy_rich_textarea alias_method :rich_text_area, :lexxy_rich_textarea end ActionView::Helpers::FormBuilder.module_eval do alias_method :rich_textarea, :lexxy_rich_textarea alias_method :rich_text_area, :lexxy_rich_textarea end ActionView::Helpers::Tags::ActionText.module_eval do alias_method :render, :lexxy_render end end |