Skip to content
This repository has been archived by the owner on Aug 10, 2018. It is now read-only.

Commit

Permalink
allow a DisplayAnythingFile to have an alternate image
Browse files Browse the repository at this point in the history
  • Loading branch information
James Ellis committed Jan 25, 2012
1 parent 53c9dad commit 9b8adb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/dataobjects/DisplayAnythingFile.php
Expand Up @@ -8,6 +8,7 @@ class DisplayAnythingFile extends UploadAnythingFile {

static $has_one = array(
'Gallery' => 'DisplayAnythingGallery',
'AlternateImage' => 'Image',
);

static $defaults = array(
Expand Down

0 comments on commit 9b8adb7

Please sign in to comment.