Requiring ApplicationController from server script
This commit is contained in:
parent
7c2ca61569
commit
dda7c8eec0
|
@ -73,6 +73,7 @@ else
|
|||
puts "=> Data files are stored in #{storage_path}"
|
||||
|
||||
require 'webrick_server'
|
||||
require_dependency 'application'
|
||||
|
||||
OPTIONS[:index_controller] = 'wiki'
|
||||
ApplicationController.wiki = WikiService.instance
|
||||
|
|
Loading…
Reference in a new issue