I'm using a old version of Zend (Is impossible to upgrade), the version is 1.12.
I have this Jquery function
`var link = '<?php echo $this->route('ajax-getextras', 'bookings', 'default') ?>';
var direction = $(this).parent().attr('class');
$.ajax({
type: "POST",
url: link,
data: $("#infoDisponibilidad").serialize(),
success: function(data) {
$('.actions').html(data);
reviewBreadcrumbs(direction);
}
});`
And this work with ajaxGetextrasAction function, but when I try with a new ajax call
`var link = '<?php echo $this->route('ajax-getcapacidadisla', 'bookings', 'default') ?>';
var direction = $(this).parent().attr('class');
$.ajax({
type: "POST",
url: link,
data: $("#infoDisponibilidad").serialize(),
success: function(data) {
$('.actions').html(data);
reviewBreadcrumbs(direction);
}
});`
return 404, the function ajaxGetCapacidadIslaAction exists in the BookingsControlller
Where is the problem?