Skip to content

Commit

Permalink
Controller should always work when the setting is on.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jan 21, 2012
1 parent 9825b93 commit b934677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/AssetsController.php
Expand Up @@ -41,7 +41,7 @@ public function get($build) {

// Dynamically defined build file. Disabled in production for
// hopefully obvious reasons.
if (!$production && $Config->files($build) === array()) {
if ($Config->files($build) === array()) {
$files = array();
if (isset($this->request->query['file'])) {
$files = $this->request->query['file'];
Expand Down

0 comments on commit b934677

Please sign in to comment.