Sha256: 061ac74529154a27794131549c2a219b3c7af91a8b1549dbe949c6d5ddfa5147
Contents?: true
Size: 279 Bytes
Versions: 2
Compression:
Stored size: 279 Bytes
Contents
module RailsKindeditor module Helper def include_kindeditor_if_needed if @use_kindeditor javascript_include_tag "kindeditor/kindeditor.js", "kindeditor/kindeditor-init.js" end end end end ActionView::Base.send(:include, RailsKindeditor::Helper)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_kindeditor-0.0.3 | lib/rails_kindeditor/helper.rb |
rails_kindeditor-0.0.2 | lib/rails_kindeditor/helper.rb |