Fixed CRUD controller for not AJAX requests