]> BookStack Code Mirror - bookstack/blobdiff - resources/views/books/edit.blade.php
Page Attachments - Improved UI, Now initially complete
[bookstack] / resources / views / books / edit.blade.php
index 5bd8917c7c880a8267b1e3e0d977ae8b309c24c3..e67e6f459844bb24f7632cf63581ea727fe87f1c 100644 (file)
@@ -4,7 +4,7 @@
 
     <div class="container small" ng-non-bindable>
         <h1>Edit Book</h1>
-        <form action="/books/{{$book->slug}}" method="POST">
+        <form action="{{ $book->getUrl() }}" method="POST">
             <input type="hidden" name="_method" value="PUT">
             @include('books/form', ['model' => $book])
         </form>