Sha256: df872c32287c7ebd41716ebda66b02303e0b30e710a64508cd48c449b81752c0
Contents?: true
Size: 898 Bytes
Versions: 4
Compression:
Stored size: 898 Bytes
Contents
#require 'cms/version' # Used for some misc configuration around the project. module Cms class << self attr_accessor :attachment_file_permission # Determines which WYSIWYG editor is the 'default' for a BrowserCMS project # # bcms modules can changes this by overriding it in their configuration. def content_editor # CKEditor is the default. @wysiwig_editor ||= ['bcms/ckeditor_load', 'ckeditor-jquery'] end def content_editor=(editor) @wysiwig_editor = editor end def markdown? Object.const_defined?("Markdown") end def reserved_paths @reserved_paths ||= ["/cms", "/cache"] end end module Errors class AccessDenied < StandardError def initialize super("Access Denied") end end end end Time::DATE_FORMATS.merge!( :year_month_day => '%Y/%m/%d', :date => '%m/%d/%Y' )
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
browsercms-3.5.7 | lib/cms/configuration.rb |
browsercms-3.5.6 | lib/cms/configuration.rb |
browsercms-3.5.5 | lib/cms/configuration.rb |
browsercms-3.5.4 | lib/cms/configuration.rb |