1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Replaced use of custom 'baseUrl' helper with 'url'

Also changed up how base URL setting was being done
by manipulating incoming request URLs instead of
altering then on generation.
This commit is contained in:
Dan Brown
2019-08-04 14:26:39 +01:00
parent 30da105812
commit 4b0c4e621a
67 changed files with 222 additions and 306 deletions

View File

@ -7,7 +7,7 @@
<p class="text-muted small">{{ trans('auth.reset_password_send_instructions') }}</p>
<form action="{{ baseUrl("/password/email") }}" method="POST" class="stretch-inputs">
<form action="{{ url("/password/email") }}" method="POST" class="stretch-inputs">
{!! csrf_field() !!}
<div class="form-group">

View File

@ -6,7 +6,7 @@
<div class="card content-wrap auto-height">
<h1 class="list-heading">{{ trans('auth.reset_password') }}</h1>
<form action="{{ baseUrl("/password/reset") }}" method="POST" class="stretch-inputs">
<form action="{{ url("/password/reset") }}" method="POST" class="stretch-inputs">
{!! csrf_field() !!}
<input type="hidden" name="token" value="{{ $token }}">