mirror of
https://github.com/flarum/framework.git
synced 2024-11-26 18:33:40 +08:00
Use Blade's inject helper
This commit is contained in:
parent
8c470954eb
commit
2979e8bc28
|
@ -1,6 +1,5 @@
|
|||
<?php
|
||||
$url = app('Flarum\Http\UrlGenerator');
|
||||
?>
|
||||
@inject('url', 'Flarum\Http\UrlGenerator')
|
||||
|
||||
<div class="container">
|
||||
<h2>{{ $translator->trans('core.views.index.all_discussions_heading') }}</h2>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user