lib/volt/volt/server_setup/app.rb in volt-0.9.4.pre3 vs lib/volt/volt/server_setup/app.rb in volt-0.9.4.pre5
- old
+ new
@@ -11,21 +11,20 @@
module ServerSetup
module App
def setup_paths
# Load component paths
@component_paths = ComponentPaths.new(@app_path)
- @component_paths.require_in_components(@page || $page)
+ @component_paths.require_in_components(self)
end
def load_app_code
setup_router
require_http_controllers
end
def setup_router
@router = Routes.new
end
-
def setup_preboot_middleware
@middleware = MiddlewareStack.new
DefaultMiddlewareStack.preboot_setup(self, @middleware)
end
\ No newline at end of file