lib/hippo/configuration.rb in hippo-fw-0.9.5 vs lib/hippo/configuration.rb in hippo-fw-0.9.6

- old
+ new

@@ -48,10 +48,12 @@ end value end def self.apply + Oj.default_options = { mode: :rails, time_format: :xmlschema } + controlling_ext = Hippo::Extensions.bootstrap secrets = controlling_ext.root_path.join('config', 'secrets.yml') @@secrets = Hashie::Mash.new( secrets.exist? ? YAML.load(ERB.new(secrets.read).result) : {} ) @@ -112,23 +114,18 @@ config_option :print_path_prefix, "/print" # prefix to use for all urls config_option :mounted_at, '/' - # The initial id of the screen that should be displayed - config_option :root_view, 'workspace-layout' + # Configuration for action cable + config_option :cable, { 'adapter' => 'redis' } - # Screen to display on load (if workspace extension is used) - config_option :initial_workspace_screen_id, '' - # types of assets to include into compiled package config_option :static_asset_types, ['images','fonts'] config_option :website_domain, 'test.com' config_option :product_name, 'Hippo Funtime' - - config_option :api_use_any_cable, false def api_path mounted_at + 'api' end