Location: PHPKode > projects > Recess PHP Framework > recess/recess/apps/tools/controllers/RecessToolsTestsController.class.php
<?php
Library::import('recess.framework.controllers.Controller');

/**
 * !RespondsWith Layouts, Json
 * !Prefix tests/
 */
class RecessToolsTestsController extends Controller {
	public function init() {
		if(RecessConf::$mode == RecessConf::PRODUCTION) {
			throw new RecessResponseException('Tools are available only during development.', ResponseCodes::HTTP_NOT_FOUND, array());
		}
	}
	
	/** !Route GET */
	public function home() {
		
	}
}
?>
Return current item: Recess PHP Framework