Requiring ApplicationController from server script

This commit is contained in:
Alexey Verkhovsky 2005-03-25 19:23:26 +00:00
parent 7c2ca61569
commit dda7c8eec0

View file

@ -73,6 +73,7 @@ else
puts "=> Data files are stored in #{storage_path}" puts "=> Data files are stored in #{storage_path}"
require 'webrick_server' require 'webrick_server'
require_dependency 'application'
OPTIONS[:index_controller] = 'wiki' OPTIONS[:index_controller] = 'wiki'
ApplicationController.wiki = WikiService.instance ApplicationController.wiki = WikiService.instance