无法让刀片模板正常工作......页面上显示的所有内容是:
@extends('layouts.admin')
这是路线:
Route::get('login', function(){
return View::make('admin.login');
});
这是模板: layouts/admin.blade.php
<!doctype html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width" />
</head>
<body>
<div class="large-12 columns">
<div id="wrap" class="large-8 large-centered columns">
@yield('content')
</div>
</div>
</body>
</html>
这是视图:views/admin/login.blade.php(@extends 之前没有中断或空格)
@extends('layouts.admin')
@section('content')
<h1>Admin Login</h1>
...
@stop
任何帮助表示赞赏!