fix order of Controller::render and view instantiation in renderJsonAction case
fix order of Controller::render and view instantiation in renderJsonAction case

scherersoftware/cake-frontend-bridge,scherersoftware/cake-frontend-bridge