Samuel Georges 7baea87068 Allow AJAX handlers to pipe objects to Laravel
Treat non scalar, non array, non RedirectResponse, non null as a Laravel compatible response
This brings AJAX handlers in line with page cycles, which do the same thing if the response is not a string. However in AJAX we should treat any scalar as a "result", not just a string. For all else (where not null), let Laravel handle it as a custom response object -- could be a model for serialization, or anything compatible.
Importantly to note when a custom redirect is sent, October's workflow is completely wiped out, so any partial updates, redirects, etc. will not occur. This is a normal and fair expectation.
Fixes #1784
2016-07-23 11:57:15 +10:00
..
2015-03-07 12:48:39 +11:00
2016-04-23 05:13:08 +10:00
2016-03-30 18:17:18 +02:00
2016-02-19 22:12:41 -08:00
2014-10-10 23:12:50 +02:00
2015-02-07 15:37:07 +11:00
2016-01-15 10:20:57 +01:00