laravel/framework — pull request #4593 by Anahkiasen (2014-06-06 08:22:57+00:00)
Title: Cast resource route options to array

Small change but this prevent `Route::resource('users', 'UsersController', ['only' => 'show']);` from crashing the app when typed instead of `Route::resource('users', 'UsersController', ['only' => ['show']]);`. One less nested array never hurt readability.