Skip to content

Commit

Permalink
added last modified header
Browse files Browse the repository at this point in the history
  • Loading branch information
ychadwick committed Jan 26, 2015
1 parent a0e499c commit 94a5183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/MediaController.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function viewImageAction(Request $request, $id, $format = 'reference')

$response = new Response($file->getContent(), 200, $headers);


$response->setLastModified($media->getUpdatedAt());
$response->setPublic();


Expand Down

0 comments on commit 94a5183

Please sign in to comment.