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

/**
 * !RespondsWith Layouts, Json
 * !Prefix Views: home/, Routes: /
 */
class RecessToolsHomeController 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