Skip to content

Commit

Permalink
Prepend styles in layout
Browse files Browse the repository at this point in the history
When view scripts append styles for the headLink() helper, those are now
really registered last.
  • Loading branch information
Jurian Sluiman committed Jul 29, 2012
1 parent d31d414 commit 7f64c8d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions module/Application/view/layout/layout.phtml
Expand Up @@ -9,9 +9,9 @@

<!-- Le styles -->
<?php echo $this->headLink(array('rel' => 'shortcut icon', 'type' => 'image/vnd.microsoft.icon', 'href' => $this->basePath() . '/images/favicon.ico'))
->appendStylesheet($this->basePath() . '/css/bootstrap.min.css')
->appendStylesheet($this->basePath() . '/css/style.css')
->appendStylesheet($this->basePath() . '/css/bootstrap-responsive.min.css') ?>
->prependStylesheet($this->basePath() . '/css/bootstrap-responsive.min.css')
->prependStylesheet($this->basePath() . '/css/style.css')
->prependStylesheet($this->basePath() . '/css/bootstrap.min.css') ?>

<!-- Scripts -->
<?php echo $this->headScript()->appendFile($this->basePath() . '/js/html5.js', 'text/javascript', array('conditional' => 'lt IE 9',))
Expand Down

0 comments on commit 7f64c8d

Please sign in to comment.