Set debug flag when needed
Config::set('app.debug', true);
You can check if Ajax using :
if (Request::ajax())
{
//
}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community