Skip to content

Commit ee61f17

Browse files
authored
Merge pull request #3388 from atefBB/patch-1
format code snippet in controllers.md
2 parents 9468c1e + 5d4c662 commit ee61f17

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

controllers.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ If you choose to nest or organize your controller using PHP namespaces, simply u
4141
4242
You may also specify names on controller routes:
4343

44-
Route::get('foo', array('uses' => 'FooController@method',
45-
'as' => 'name'));
44+
Route::get('foo', array('uses' => 'FooController@method', 'as' => 'name'));
4645

4746
To generate a URL to a controller action, you may use the `URL::action` method or the `action` helper method:
4847

0 commit comments

Comments
 (0)