framework/views/error/csrf_token_mismatch.blade.php
Franz Liedke 6e089c12d4 Determine error view and message based on type
...not based on status code.

To simplify this logic, we now use the same error "type" both when
routes are not found and specific models are not found. One exception is
ours, one is from Laravel, but for the purposes of error handling they
should be treated the same.

Fixes flarum/core#1641.
2020-02-04 22:55:25 +01:00

13 lines
251 B
PHP

@extends('flarum.forum::layouts.basic')
@section('content')
<p>
{{ $message }}
</p>
<p>
<a href="javascript:history.back()">
{{ $translator->trans('core.views.error.csrf_token_mismatch_return_link') }}
</a>
</p>
@endsection