Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use content type for new media type definition, too.

  • Loading branch information...
commit b51d1463bc3c477e1aa86101e51a3ad41affc523 1 parent c4a47fc
@davidpersson davidpersson authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 config/bootstrap/media.php
View
4 config/bootstrap/media.php
@@ -58,9 +58,9 @@
$default = Media::type('default');
-Media::type('xml', null, (array) $default['options']);
+Media::type('xml', $default['content'], (array) $default['options']);
$text = Media::type('text');
-Media::type('txt', null, (array) $text['options']);
+Media::type('txt', $text['content'], (array) $text['options']);
?>
Please sign in to comment.
Something went wrong with that request. Please try again.