doc
Layout disabling if XHR in Controller rather than in View
coding style