Laravel 4 初级教程之Pages、表单验证
1. 构建Pages管理功能 运行命令: php artisan generate:controller admin/PagesController 修改PagesController.php 内容: <?phpnamespace App\Controllers\Admin;use Page;use Input, Notification, Redirect, Sentry, Str;use App\Services\Validators\PageValidator;class PagesController extends \BaseController { public f
用户评论