module StaticBlocks
Constants
- VERSION
Public Class Methods
config() { |config| ... }
click to toggle source
# File lib/static_blocks/engine.rb, line 24 def self.config(&block) unless defined? @@config @@config ||= StaticBlocks::Engine::Configuration.new @@config.locales = ['en'] @@config.http_auth = false @@config.username = "admin" @@config.password = "password" @@config.wysihtml5 = true end yield @@config if block return @@config end