mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 12:05:56 +00:00
Merge pull request #33 from ajshort/pull-1
Extend content controller to make sure the correct stage is used.
This commit is contained in:
commit
0d9f011ea9
@ -804,7 +804,7 @@ class DMSDocument extends DataObject implements DMSDocumentInterface {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class DMSDocument_Controller extends Controller {
|
class DMSDocument_Controller extends ContentController {
|
||||||
|
|
||||||
static $testMode = false; //mode to switch for testing. Does not return document download, just document URL
|
static $testMode = false; //mode to switch for testing. Does not return document download, just document URL
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user