aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--src/routes.php4
2 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index cc67d7f..a6fa886 100644
--- a/README.md
+++ b/README.md
@@ -39,6 +39,7 @@ RESTful PHP API for Botleagues
* `APP_ENV`, `APP_DEBUG`, `APP_KEY`, `APP_URL`
* `DB_HOST`, `DB_DATABASE`, `DB_USERNAME`, `DB_PASSWORD`
* `API_VERSION=v1`, `API_DEBUG`, `API_DOMAIN`
+ * `SESSION_DRIVER=array`, to disable the `laravel_session` cookie
* In your `app/Http/Middleware/VerifyCsrfToken.php`, replace the `handle()` function with:
diff --git a/src/routes.php b/src/routes.php
index def14d1..d424db8 100644
--- a/src/routes.php
+++ b/src/routes.php
@@ -1,5 +1,5 @@
<?php
-Route::group(array('https'), function() use ($api) {
+Route::group(['https'], function() use ($api) {
$api->version('v1', ['protected' => false], function ($api) {
@@ -57,4 +57,4 @@ Route::group(array('https'), function() use ($api) {
});
-}); \ No newline at end of file
+});