]> BookStack Code Mirror - bookstack/blobdiff - resources/views/entities/watch-action.blade.php
Notifications: Linked watch functionality to UI
[bookstack] / resources / views / entities / watch-action.blade.php
index dd626a0ef448f4d8f8bada90d0edcc7f7598ef91..34e287804cc62b0174058bd3c5a54b3dbe6b0a18 100644 (file)
@@ -1,8 +1,12 @@
-<form action="{{ $entity->getUrl('/') }}" method="GET">
+<form action="{{ url('/watching/update') }}" method="POST">
     {{ csrf_field() }}
+    {{ method_field('PUT') }}
     <input type="hidden" name="type" value="{{ get_class($entity) }}">
     <input type="hidden" name="id" value="{{ $entity->id }}">
-    <button type="submit" data-shortcut="favourite" class="icon-list-item text-link">
+    <button type="submit"
+            name="level"
+            value="updates"
+            class="icon-list-item text-link">
         <span>@icon('watch')</span>
         <span>{{ trans('entities.watch') }}</span>
     </button>