Sha256: e611a448638d3a66d7f62f995ecda7c3d423f314a5472db522e053ca0725a786
Contents?: true
Size: 616 Bytes
Versions: 8
Compression:
Stored size: 616 Bytes
Contents
require 'rails' require "ckeditor" require 'fullstack' module Fullstack module Admin class Engine < ::Rails::Engine initializer "fullstack-admin precompile" do |app| app.config.assets.precompile += Ckeditor.assets end initializer 'fullstack.autoload', :after => :set_autoload_paths do |app| Ckeditor.setup do |config| require "ckeditor/orm/active_record" end Ckeditor::ApplicationController.class_eval do before_filter :authenticate_administrator! end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems