Quando adiciono essa rota no arquivo routes.php:
/* |-------------------------------------------------------------------------- | Application Routes |-------------------------------------------------------------------------- | | Here is where you can register all of the routes for an application. | It's a breeze. Simply tell Laravel the URIs it should respond to | and give it the Closure to execute when that URI is requested. | */
´Route::get('postagem', function (){
routes.php
Route::get('postagem', function (){
return "teste";
});´;
Route::get('/', function()
Route::get('/', function(){
return View::make('hello');
});´;
Apresenta esse erro:
Fatal error: Class 'Route' not found in C: \ wamp \ www \ laravel \ app \ routes.php on line 13
Uso Laravel 4.2, Wamp Server. Já fiz diversos comandos com o composer de atualizar, porém sem sucesso.