From 06d7abc2d4b1137b2e4a9d40ba8d71cdb571272a Mon Sep 17 00:00:00 2001 From: dlabs88 Date: Tue, 12 Jun 2012 04:00:15 +0300 Subject: [PATCH 1/3] Route::get('admin', array('before' => 'auth', function() {})); forgot the last ) --- laravel/documentation/auth/usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/documentation/auth/usage.md b/laravel/documentation/auth/usage.md index e02747a0..8a9a0650 100644 --- a/laravel/documentation/auth/usage.md +++ b/laravel/documentation/auth/usage.md @@ -63,7 +63,7 @@ ## Protecting Routes To protect a route, simply attach the **auth** filter: - Route::get('admin', array('before' => 'auth', function() {}); + Route::get('admin', array('before' => 'auth', function() {})); > **Note:** You are free to edit the **auth** filter however you like. A default implementation is located in **application/routes.php**. From ac2e7c6a2d2afa47f420715dca056ec6135403fd Mon Sep 17 00:00:00 2001 From: Stefan Neubig Date: Thu, 14 Jun 2012 01:33:56 +0300 Subject: [PATCH 2/3] Fixed namespace issue when registering a session driver with the extend closure --- laravel/session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/session.php b/laravel/session.php index b5b833fa..81e4e131 100644 --- a/laravel/session.php +++ b/laravel/session.php @@ -1,4 +1,4 @@ - Date: Wed, 20 Jun 2012 13:01:52 +0300 Subject: [PATCH 3/3] Fixed typo --- laravel/database/connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/database/connection.php b/laravel/database/connection.php index 66601ef8..26197736 100644 --- a/laravel/database/connection.php +++ b/laravel/database/connection.php @@ -194,7 +194,7 @@ public function query($sql, $bindings = array()) return $statement->rowCount(); } // For insert statements that use the "returning" clause, which is allowed - // by databsae systems such as Postgres, we need to actually return the + // by database systems such as Postgres, we need to actually return the // real query result so the consumer can get the ID. elseif (stripos($sql, 'insert') === 0 and stripos($sql, 'returning') !== false) {