This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Laravel / jQuery AJAX code example | |
* See conversation here: http://laravel.io/forum/04-29-2015-people-asking-about-jquery-ajax | |
* | |
* Drop this code into your App/Http/routes.php file, and go to /ajax/view in your browser | |
* Be sure to bring up the JavaScript console by pressing F12. | |
*/ | |
// This is your View AJAX route - load this in your browser | |
Route::get('/ajax/view', function () { |