Skip to content

Instantly share code, notes, and snippets.

@Rokt33r
Created March 31, 2014 06:28
Show Gist options
  • Save Rokt33r/9886429 to your computer and use it in GitHub Desktop.
Save Rokt33r/9886429 to your computer and use it in GitHub Desktop.
Laravel 基礎 Lesson 6 - RESTful (app/routes.php)
<?php
Route::get('/', function()
{
return View::make('hello');
});
Route::resource('posts', 'PostController');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment