This file contains hidden or 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
    
  
  
    
  | <?php | |
| // routes.php | |
| Event::listen('illuminate.query', function($sql) { | |
| var_dump($sql); | |
| }); | 
  
    
      This file contains hidden or 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
    
  
  
    
  | // you can put this in angular "run" method | |
| // added this header so we can use Laravel Request::ajax() method on the backend | |
| $http.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; | 
OlderNewer