set('DEBUG',1); $f3->set('AUTOLOAD','views/;entities/'); $f3->route('GET /@campaign','brickFinder->searchPage'); $f3->route('POST /@campaign/search [ajax]','brickFinder->searchResults'); $f3->route('GET /@campaign/map/@mapId','brickFinder->brickMap'); $f3->run();