- add archive disk to config\filesystems.php
- correct getPath method with public path in app\models\File.php - composer updates
This commit is contained in:
parent
6d0638e201
commit
795313d3dd
4 changed files with 12 additions and 9 deletions
|
@ -5,7 +5,6 @@ use App\Http\Controllers\Controller;
|
|||
use App\Models\Dataset;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Illuminate\View\View;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class PublishController extends Controller
|
||||
{
|
||||
|
@ -28,7 +27,6 @@ class PublishController extends Controller
|
|||
//"select * from [documents] where [server_state] in (?) or ([server_state] = ? and [editor_id] = ?)"
|
||||
$datasets = $builder
|
||||
->where('server_state', 'reviewed')
|
||||
|
||||
->get();
|
||||
return view('workflow.publish.index', [
|
||||
'datasets' => $datasets,
|
||||
|
|
|
@ -64,7 +64,8 @@ class File extends Model
|
|||
*/
|
||||
private function getPath()
|
||||
{
|
||||
return storage_path('app/public/' . $this->path_name);
|
||||
//return storage_path('app/public/' . $this->path_name);
|
||||
return public_path('storage/' . $this->path_name);
|
||||
}
|
||||
|
||||
public function exists()
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue