File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ trait ViewsAndRestoresRevisions
88{
99 /**
1010 * Build a list of Revisions, grouped by revision date.
11- *
11+ *
1212 * @return [Array] of revision groups, keyed by revision date
1313 */
1414 public function listRevisions ($ id )
@@ -37,7 +37,7 @@ public function listRevisions($id)
3737
3838 /**
3939 * Restore a single revision.
40- *
40+ *
4141 * @param [int] $id The ID of the source CRUD Model instance to update
4242 * @param [int] $revisionId The ID of the revision to use for the update
4343 */
Original file line number Diff line number Diff line change @@ -213,7 +213,6 @@ public function listRevisions($id)
213213 */
214214 public function restoreRevision ($ id )
215215 {
216-
217216 $ this ->crud ->hasAccessOrFail ('revisions ' );
218217
219218 // @TODO: Currently the route already contains the revision ID, so passing it as a POST param
You can’t perform that action at this time.
0 commit comments