public function before(\Asgard\Http\Controller $controller, \Asgard\Http\Request $request) {
		if(!$controller->has('layout'))
			$controller->set('layout', null);
		if(!$controller->has('htmlLayout'))
			$controller->set('htmlLayout', null);
	}
public function before(\Asgard\Http\Controller $controller, \Asgard\Http\Request $request) {
		if(!$controller->has('layout'))
			$controller->set('layout', null);
		if(!$controller->has('htmlLayout'))
			$controller->set('htmlLayout', null);
	}
public function before ( \ Asgard \ Http \ Controller $ controller , \ Asgard \ Http \ Request $ request ) { if ( ! $ controller -> has ( 'layout' ) ) $ controller -> set ( 'layout' , null ) ; if ( ! $ controller -> has ( 'htmlLayout' ) ) $ controller -> set ( 'htmlLayout' , null ) ; }
To be executed before the action.
@param  \Asgard\Http\Controller $controller
@param  \Asgard\Http\Request    $request
To be executed before the action .