]> BookStack Code Mirror - bookstack/blobdiff - resources/views/partials/view-toggle.blade.php
Replaced use of custom 'baseUrl' helper with 'url'
[bookstack] / resources / views / partials / view-toggle.blade.php
index 9eb00e1d95261d0b977ca44a8f900bd3d4fa8618..9f911c88231d1775366263e0e29766705690df94 100644 (file)
@@ -1,5 +1,5 @@
 <div>
-    <form action="{{ baseUrl("/settings/users/{$currentUser->id}/switch-${type}-view") }}" method="POST" class="inline">
+    <form action="{{ url("/settings/users/{$currentUser->id}/switch-${type}-view") }}" method="POST" class="inline">
         {!! csrf_field() !!}
         {!! method_field('PATCH') !!}
         <input type="hidden" value="{{ $view === 'list'? 'grid' : 'list' }}" name="view_type">