Mam taki problem próbuje podłączyć bibliotekę bootstrap więc umieściłem w pliku routes.php następujące linie.
Route::any('boot', function()
{
Asset::add('jquery', 'http://ajax.googleapis.com/ajax
/libs/jquery/1.10.2/jquery.min.js');
Asset::add('bootstrap-js', 'http://
netdna.bootstrapcdn.com/twitter-
bootstrap/2.3.2/js/bootstrap.min.js', 'jquery');
Asset::add('bootstrap-css', 'http://
netdna.bootstrapcdn.com/twitter-
bootstrap/2.3.2/css/bootstrap-combined.min.css');
$superheroes = array('Batman', 'Superman', 'Wolverine',
'Deadpool', 'Iron Man');
return View::make('boot')->with('superheroes',
$superheroes);
});
No i jeszcze jest plik boot.php ale nie o ten plik mi chodzi
i teraz interpreter zwraca błąd
PHP Fatal error: Class 'Asset' not found in /var/www/html/myapp/lara4/your-project-name/app/routes.php on line 434
nie może znaleźć tej klasy a to jest przykład do laravela 4 czyli do mojej wersji.