【发布时间】:2016-08-14 04:26:58
【问题描述】:
我的代码中有什么错误让我头疼。
main.blade.php
Html with angular codes here....
@include('modal-template-common', ['link' => route('client.logout')])
modal-template-common.blade.php
{!! Html::link($link, 'OK', ('class'=>'btn btn-danger')) !!}
现在的问题是每当我尝试渲染它时都会返回一个错误
UrlGenerator.php 第 273 行中的 ErrorException
angular.js:11607 错误:[$compile:tpload]
任何启示都会对我有很大帮助。
【问题讨论】:
-
include()命令中缺少')'。 -
只是一个错字。将编辑它
标签: php html laravel-5.1 laravel-blade