]> _ Git - odl.git/commitdiff
wip #5122
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 28 Feb 2022 15:27:35 +0000 (16:27 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 28 Feb 2022 15:27:35 +0000 (16:27 +0100)
app/Http/Controllers/Admin/ToolsController.php
app/Http/Controllers/Tools/FluidbookConvert.php [new file with mode: 0644]

index 3df9d1058ee86e35cd05bcf525cca9bab7038f98..3663350255f4506aeee73ef644842aabba95ffdf 100644 (file)
@@ -15,7 +15,6 @@ class ToolsController
 
     public function index($tool, $args = '')
     {
-
         if (!$args) {
             $args = [];
         } else {
diff --git a/app/Http/Controllers/Tools/FluidbookConvert.php b/app/Http/Controllers/Tools/FluidbookConvert.php
new file mode 100644 (file)
index 0000000..2ff33f0
--- /dev/null
@@ -0,0 +1,14 @@
+<?php
+
+namespace App\Http\Controllers\Tools;
+
+use App\Jobs\ProcessFluidbook;
+
+trait FluidbookConvert
+{
+    protected function fluidbookconvert($args)
+    {
+        ProcessFluidbook::dispatchSync();
+        return view('tools.fluidbookconvert');
+    }
+}