Sha256: b19949920c2f90f757b95520aa948c19f82fb4401af9a403299a631aee16837b

Contents?: true

Size: 438 Bytes

Versions: 6

Compression:

Stored size: 438 Bytes

Contents

require 'spina/engine'
require 'spina/railtie'
require 'spina/plugin'
require 'spina/theme'

module Spina

  include ActiveSupport::Configurable

  PLUGINS = []
  THEMES = []

  config_accessor :backend_path, :disable_frontend_routes, :storage, :max_page_depth, :locales

  self.backend_path = 'admin'

  self.disable_frontend_routes = false

  self.storage = :file

  self.max_page_depth = 5

  self.locales = [I18n.default_locale]

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spina-1.2.0 lib/spina.rb
spina-1.1.4 lib/spina.rb
spina-1.1.3 lib/spina.rb
spina-1.1.2 lib/spina.rb
spina-1.1.1 lib/spina.rb
spina-1.1.0 lib/spina.rb