Sha256: 13b05967503abe17aa948bf0737a05379f3b6ac7acfffe58406a9052f065a8c1

Contents?: true

Size: 420 Bytes

Versions: 11

Compression:

Stored size: 420 Bytes

Contents

module CkeditorInterface
  def self.included(base)
    base.class_eval {
      include CkeditorInstanceMethods
      before_filter :add_ckeditor_interface, :only => [:edit, :new]
    }
  end
  
  module CkeditorInstanceMethods
    def add_ckeditor_interface
      include_javascript 'extensions/ck_editor_filter/ckeditor/ckeditor'
      include_javascript 'extensions/ck_editor_filter/radiant.ckeditor'
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
radiant-ck_editor_filter-extension-0.2.9 app/models/ckeditor_interface.rb
radiant-ck_editor_filter-extension-0.2.8 app/models/ckeditor_interface.rb
radiant-ck_editor_filter-extension-0.2.7 app/models/ckeditor_interface.rb
radiant-ck_editor_filter-extension-0.2.6 app/models/ckeditor_interface.rb
radiant-ck_editor_filter-extension-0.2.5 app/models/ckeditor_interface.rb
radiant-ck_editor_filter-extension-0.2.4 app/models/ckeditor_interface.rb
radiant-ck_editor_filter-extension-0.2.3 app/models/ckeditor_interface.rb
radiant-ck_editor_filter-extension-0.2.2 app/models/ckeditor_interface.rb
radiant-ck_editor_filter-extension-0.2.1 app/models/ckeditor_interface.rb
radiant-ck_editor_filter-extension-0.2.0 app/models/ckeditor_interface.rb
radiant-ck_editor_filter-extension-0.1.1 app/models/ckeditor_interface.rb