Sha256: dddf5e67ea39e50ee5665a0b8270dd8d5b89360bc57e880bc3ecdc02b07a62ba
Contents?: true
Size: 568 Bytes
Versions: 4
Compression:
Stored size: 568 Bytes
Contents
module SofaBlog class Configuration # Default url to access admin area is http://yourhost/cms-admin/ # You can change 'cms-admin' to 'admin', for example. attr_accessor :admin_route_prefix # Controller that should be used for admin area attr_accessor :admin_controller # Form builder attr_accessor :form_builder # Configuration defaults def initialize @admin_route_prefix = 'admin' @admin_controller = 'ApplicationController' @form_builder = 'SofaBlog::FormBuilder' end end end
Version data entries
4 entries across 4 versions & 1 rubygems