lib/volt/server.rb in volt-0.9.2 vs lib/volt/server.rb in volt-0.9.3.pre1

- old
+ new

@@ -5,10 +5,11 @@ require 'rack' require 'sass' require 'volt/utils/tilt_patch' require 'sprockets-sass' + require 'volt' require 'volt/tasks/dispatcher' require 'volt/tasks/task_handler' require 'volt/server/component_handler' require 'volt/server/rack/component_paths' @@ -47,10 +48,10 @@ module Volt class Server attr_reader :listener, :app_path # You can also optionally pass in a prebooted app - def initialize(root_path = nil, app = false) + def initialize(root_path = nil, app = nil) @root_path = root_path || Dir.pwd @volt_app = app @app_path = File.expand_path(File.join(@root_path, 'app'))