File tree 1 file changed +17
-2
lines changed
1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- Route::group (array ( 'domain ' => 'bin.laravel.io ' ) , function () {
3
+ Route::group ([ 'domain ' => 'bin.laravel.io ' ] , function () {
4
4
Route::get ('{wildcard} ' , function ($ wildcard ) {
5
5
return Redirect::to ('http://laravel.io/bin/ ' . $ wildcard );
6
6
});
7
7
});
8
- Route::group (array ( 'domain ' => 'paste.laravel.io ' ) , function () {
8
+ Route::group ([ 'domain ' => 'paste.laravel.io ' ] , function () {
9
9
Route::get ('{wildcard} ' , function ($ wildcard ) {
10
10
return Redirect::to ('http://laravel.io/bin/ ' . $ wildcard );
11
11
});
12
12
});
13
+ Route::group (['domain ' => 'wiki.laravel.io ' ], function () {
14
+ Route::get ('{wildcard} ' , function ($ wildcard ) {
15
+ return Redirect::to ('http://laravel.io/ ' );
16
+ });
17
+ });
18
+ Route::group (['domain ' => 'forum.laravel.io ' ], function () {
19
+ Route::get ('{wildcard} ' , function ($ wildcard ) {
20
+ return Redirect::to ('http://laravel.io/ ' );
21
+ });
22
+ });
23
+ Route::group (['domain ' => 'forums.laravel.io ' ], function () {
24
+ Route::get ('{wildcard} ' , function ($ wildcard ) {
25
+ return Redirect::to ('http://laravel.io/ ' );
26
+ });
27
+ });
13
28
14
29
Route::get ('/ ' , 'HomeController@getIndex ' );
15
30
Route::get ('rss ' , function () {
You can’t perform that action at this time.
0 commit comments