mirror of
https://github.com/flarum/core.git
synced 2025-02-24 03:05:12 +01:00
added custom view, now needs translation
This commit is contained in:
parent
ce42b5e035
commit
fd66722945
@ -15,4 +15,8 @@ use Exception;
|
||||
|
||||
class TokenMismatchException extends Exception
|
||||
{
|
||||
public function __construct($message = null, $code = 419, Exception $previous = null)
|
||||
{
|
||||
parent::__construct($message, $code, $previous);
|
||||
}
|
||||
}
|
||||
|
12
views/error/419.blade.php
Normal file
12
views/error/419.blade.php
Normal file
@ -0,0 +1,12 @@
|
||||
@extends('flarum.forum::layouts.basic')
|
||||
|
||||
@section('content')
|
||||
<p>
|
||||
{{ $message }}
|
||||
</p>
|
||||
<p>
|
||||
<a href="{{ $app->url() }}">
|
||||
{{ $translator->trans('core.views.error.419_return_link', ['{forum}' => $settings->get('forum_title')]) }}
|
||||
</a>
|
||||
</p>
|
||||
@endsection
|
Loading…
x
Reference in New Issue
Block a user