Skip to content

Instantly share code, notes, and snippets.

@clone1018
Created August 1, 2014 17:37
Show Gist options
  • Save clone1018/ac6e0fe710e888b98975 to your computer and use it in GitHub Desktop.
Save clone1018/ac6e0fe710e888b98975 to your computer and use it in GitHub Desktop.
+--------+---------------+------+--------------------------------------------+----------------+---------------+
| Domain | URI | Name | Action | Before Filters | After Filters |
+--------+---------------+------+--------------------------------------------+----------------+---------------+
| | GET|HEAD / | | HomeController@index | | |
+--------+---------------+------+--------------------------------------------+----------------+---------------+
<?php
Route::get("/", "HomeController@index");
Route::controller("/sdgd", "AnotherController");
Route::group(
array('prefix' => 'api', 'namespace' => 'SomeNamespace\\Another'), function () {
Route::get('/whgat', 'InsideNameSpace@someRoute');
Route::resource('/thing', 'AnotherController');
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment