Sha256: 24058676a93fc443fd7bad608030bcbcb366c2b83882d58c1fca100232c6fb9b
Contents?: true
Size: 453 Bytes
Versions: 16
Compression:
Stored size: 453 Bytes
Contents
require 'volt/models' require 'volt/server/rack/component_paths' if RUBY_PLATFORM == 'opal' require 'volt' else require 'volt/page/page' end module Volt def self.boot(app_path) # Run the app config to load all users config files Volt.run_files_in_config_folder if Volt.server? $page = Page.new end component_paths = ComponentPaths.new(app_path) component_paths.require_in_components component_paths end end
Version data entries
16 entries across 16 versions & 1 rubygems