]> BookStack Code Mirror - bookstack/blobdiff - app/File.php
Page Attachments - Improved UI, Now initially complete
[bookstack] / app / File.php
index 152350c70a98076911c741c36eed397cdc2f8e15..e9b77d2ea192b4ddaafd7e3814b98d7ac6fa1b3c 100644 (file)
@@ -30,7 +30,7 @@ class File extends Ownable
      */
     public function getUrl()
     {
-        return '/files/' . $this->id;
+        return baseUrl('/files/' . $this->id);
     }
 
 }