示例#1
0
 public function postRestore(Page $page, Request $request)
 {
     $this->authorize('publish', $page);
     $version = PageVersion::find($page, $request->input('versionId'));
     if ($version) {
         PageVersion::restore($version);
     }
 }