Sha256: ed5127d3f6073fad5d26d61ccae54aa1673af5161a68a4184ac669a4c0350e4a
Contents?: true
Size: 645 Bytes
Versions: 56
Compression:
Stored size: 645 Bytes
Contents
require 'active_support/core_ext/module/delegation' require 'active_support/core_ext/module/attribute_accessors' module Cmor module Blog module Backend module Configuration def configure yield self end mattr_accessor :registered_controllers do lambda do [ Cmor::Blog::Backend::PostsController ] end end mattr_accessor :registered_services do lambda do [] end end mattr_accessor(:current_user_proc) { ->(controller) { controller.current_user } } end end end end
Version data entries
56 entries across 56 versions & 1 rubygems