I have used ajax url with one parameter month which i selected from option box
$.ajax({
url: baseUri + 'attendancelist/search/attsearch/month/' + month ,
type: 'GET'
...
});
So i want to call that parameter in my attsearchAction() So i code like this
public function attsearchAction() {
$month = $this->request->get('month'); //current testing framework is phalcon
//$month = $this->_request->getParam('month'); //zend framework is ok by getParam
var_dump($month);exit; //null
}
But it only show null? How to fix that>>