Skip to content

Commit

Permalink
Merge pull request #2 from willdurand/override-formats
Browse files Browse the repository at this point in the history
Allow to override formats
  • Loading branch information
K-Phoen committed Dec 24, 2013
2 parents d662f6e + aae74a9 commit 8a9f592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/KPhoen/Provider/NegotiationServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function register(Application $app)

// add new formats
foreach ($this->customFormats as $name => $mimeTypes) {
$negotiator->registerFormat($name, $mimeTypes);
$negotiator->registerFormat($name, $mimeTypes, true);
}

return $negotiator;
Expand Down

0 comments on commit 8a9f592

Please sign in to comment.