Sha256: e4fe421e36adfe79fe4931b9eb9a13a9af5d8f6c084dd26f19273174658172eb

Contents?: true

Size: 204 Bytes

Versions: 2

Compression:

Stored size: 204 Bytes

Contents

if Object.const_defined?("Ckeditor")
  Ckeditor.setup do |config|
    require "ckeditor/orm/active_record"
  end

  Ckeditor::ApplicationController.class_eval do
    authorize(:scope => :admin)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fullstack-admin-0.1.16 config/initializers/ckeditor.rb
fullstack-admin-0.1.15 config/initializers/ckeditor.rb