【发布时间】:2018-12-28 16:19:20
【问题描述】:
我实现了 Laravel 开箱即用的电子邮件验证,但目前在电子邮件页脚中添加的 actionURL 链接存在问题。电子邮件中的按钮具有正确的链接,但页脚中的链接显示“:actionURL”...
邮件的默认 laravel markdown 的一部分:
{{-- Action Button (button is working)--}}
@component('mail::button', ['url' => $actionUrl, 'color' => $color])
{{ $actionText }}
@endcomponent
{{-- Subcopy (the link has an issue)--}}
@component('mail::subcopy')
@lang(
"If you’re having trouble clicking the \":actionText\" button, copy and paste the URL below\n".
'into your web browser: [:actionURL](:actionURL)',
[
'actionText' => $actionText,
'actionUrl' => $actionUrl
]
)
@endcomponent
【问题讨论】:
-
此问题已修复,请将您的
laravel/framework依赖项更新到最新版本。 -
@JonasStaudenmeir 如果我检查我的 composer.json "laravel/framework": "5.7.*"... 我昨天创建了这个项目,没有版本标志...我错过了什么:/
-
composer show对laravel/framework有什么看法? -
@JonasStaudenmeir laravel/framework v5.7.9
标签: laravel markdown laravel-5.7