public function steps() {
		Configure::write('debug', 0);
		if (!$this->request->is('ajax') || !$this->request->is('post') ||
			!$this->RequestHandler->prefers('json')) {
			throw new BadRequestException();
		}

		$data = $this->ConfigTheme->getStepsConfigTourApp();
		$this->set(compact('data'));
		$this->set('_serialize', 'data');
	}
public function steps() {
		Configure::write('debug', 0);
		if (!$this->request->is('ajax') || !$this->request->is('post') ||
			!$this->RequestHandler->prefers('json')) {
			throw new BadRequestException();
		}

		$data = $this->ConfigTheme->getStepsConfigTourApp();
		$this->set(compact('data'));
		$this->set('_serialize', 'data');
	}
public function steps ( ) { Configure :: write ( 'debug' , 0 ) ; if ( ! $ this -> request -> is ( 'ajax' ) || ! $ this -> request -> is ( 'post' ) || ! $ this -> RequestHandler -> prefers ( 'json' ) ) { throw new BadRequestException ( ) ; } $ data = $ this -> ConfigTheme -> getStepsConfigTourApp ( ) ; $ this -> set ( compact ( 'data' ) ) ; $ this -> set ( '_serialize' , 'data' ) ; }
Action `steps`. Is used to get data of tour steps

@throws BadRequestException if request is not `AJAX`, or not `POST`
or not `JSON`
@return void
Action steps . Is used to get data of tour steps