my localhost uses a laravel route to open my view, which works:
http://localhost/view/stock/equipment
Laravel 4 route which returns my view:
Route::get('view/stock/equipment', array('uses'=>'App\Controllers\Stock\EquipmentController@getIndex'));
my view contains:
{{ HTML::script('js-views/stock/equipment/bootstrap.js') }}
Which shows in my html page as:
<script src="http://localhost/js-views/stock/equipment/bootstrap.js"></script>
But bootstrap.js won't load, when I look using firebug I see it doesn't get loaded from the correct path:
GET http://localhost/view/stock/bootstrap.js 404 Not Found
I can see a ' view/stock part ' coming from the laravel route.
the public path is set correctly in Laravel.
How could this be?