From: Vincent Vanwaelscappel Date: Tue, 5 Dec 2023 17:04:17 +0000 (+0100) Subject: wip #6555 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=a353535da240c539c98e942063f802fbdfa9e6c3;p=fluidbook-toolbox.git wip #6555 @0.25 --- diff --git a/app/Models/FluidbookExternalInstallServer.php b/app/Models/FluidbookExternalInstallServer.php index bf34457bd..126cadef1 100644 --- a/app/Models/FluidbookExternalInstallServer.php +++ b/app/Models/FluidbookExternalInstallServer.php @@ -56,12 +56,6 @@ class FluidbookExternalInstallServer extends ExternalServer $this->addField('allows_root', Checkbox::class, __('Autoriser le chargement à la racine (sur le chemin de base)'), ['default' => false]); } - public function onSaving(): bool - { - - - return parent::onSaving(); - } protected function isHosting() { diff --git a/resources/views/vendor/backpack/crud/list-fluidbook.blade.php b/resources/views/vendor/backpack/crud/list-fluidbook.blade.php index 331579d46..128278e26 100644 --- a/resources/views/vendor/backpack/crud/list-fluidbook.blade.php +++ b/resources/views/vendor/backpack/crud/list-fluidbook.blade.php @@ -17,7 +17,7 @@ {{ __('URL finale du fluidbook') }} @foreach($fluidbooks as $fluidbook) - @php($url = $crud->entry->base_url.json_decode($fluidbook['settings'], true)['install_online']['path']) + @php($url = $crud->entry->getBaseURL().json_decode($fluidbook['settings'], true)['install_online']['path']) {{$fluidbook['id']}} {{$fluidbook['c_title']}}