Skip to content

Instantly share code, notes, and snippets.

@JeffreyWay
Last active February 9, 2019 05:16
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JeffreyWay/86d8e00bc4274668806b to your computer and use it in GitHub Desktop.
Save JeffreyWay/86d8e00bc4274668806b to your computer and use it in GitHub Desktop.
<?php
$router->get('dogs', ['uses' => 'App\Http\Controllers\DogsController@index', 'domain' => NULL, 'as' => 'dogs_path', 'middleware' => array (
0 => 'auth',
), 'where' => array (
)]);
$router->get('/', ['uses' => 'App\Http\Controllers\HomeController@home', 'domain' => NULL, 'as' => NULL, 'middleware' => array (
), 'where' => array (
)]);
$router->get('about', ['uses' => 'App\Http\Controllers\HomeController@about', 'domain' => NULL, 'as' => NULL, 'middleware' => array (
), 'where' => array (
)]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment