+
+ @if (Route::has('login'))
+
+ @endif
+
-
Laravel 5
+
+ Laravel
+
+
+
diff --git a/routes/api.php b/routes/api.php
new file mode 100644
index 00000000000..6b907f390b0
--- /dev/null
+++ b/routes/api.php
@@ -0,0 +1,18 @@
+user();
+})->middleware('auth:api');
diff --git a/routes/console.php b/routes/console.php
new file mode 100644
index 00000000000..75dd0cdedbe
--- /dev/null
+++ b/routes/console.php
@@ -0,0 +1,18 @@
+comment(Inspiring::quote());
+})->describe('Display an inspiring quote');
diff --git a/app/Http/routes.php b/routes/web.php
similarity index 50%
rename from app/Http/routes.php
rename to routes/web.php
index 1ad35497d06..a4dabc89d3b 100644
--- a/app/Http/routes.php
+++ b/routes/web.php
@@ -2,12 +2,12 @@
/*
|--------------------------------------------------------------------------
-| Application Routes
+| Web 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 controller to call when that URI is requested.
+| This file is where you may define all of the routes that are handled
+| by your application. Just tell Laravel the URIs it should respond
+| to using a Closure or controller method. Build something great!
|
*/
diff --git a/server.php b/server.php
index f65c7c444f2..5fb6379e71f 100644
--- a/server.php
+++ b/server.php
@@ -4,7 +4,7 @@
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
- * @author Taylor Otwell
+ * @author Taylor Otwell
*/
$uri = urldecode(
diff --git a/tests/ExampleTest.php b/tests/ExampleTest.php
index 7e81d37aadc..2f2d20ff723 100644
--- a/tests/ExampleTest.php
+++ b/tests/ExampleTest.php
@@ -14,6 +14,6 @@ class ExampleTest extends TestCase
public function testBasicExample()
{
$this->visit('/')
- ->see('Laravel 5');
+ ->see('Laravel');
}
}