Skip to content

Commit

Permalink
Merge pull request laravel#1477 from adamwathan/patch-3
Browse files Browse the repository at this point in the history
Use single quotes for paths in version helper
  • Loading branch information
taylorotwell committed May 28, 2015
2 parents eacfeb9 + 983ec77 commit 6fe6ad9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions elixir.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ elixir(function(mix) {

After generating the versioned file, you may use Laravel's global `elixir` PHP helper function within your [views](/docs/{{version}}/views) to load the appropriately hashed asset. The `elixir` function will automatically determine the name of the hashed file:

<link rel="stylesheet" href="{{ elixir("css/all.css") }}">
<link rel="stylesheet" href="{{ elixir('css/all.css') }}">

#### Versioning Multiple Files

Expand All @@ -260,9 +260,9 @@ elixir(function(mix) {

Once the files have been versioned, you may use the `elixir` helper function to generate links to the proper hashed files. Remember, you only need to pass the name of the un-hashed file to the `elixir` helper function. The helper will use the un-hashed name to determine the current hashed version of the file:

<link rel="stylesheet" href="{{ elixir("css/all.css") }}">
<link rel="stylesheet" href="{{ elixir('css/all.css') }}">

<script src="{{ elixir("js/app.js") }}"></script>
<script src="{{ elixir('js/app.js') }}"></script>

<a name="calling-existing-gulp-tasks"></a>
## Calling Existing Gulp Tasks
Expand Down

0 comments on commit 6fe6ad9

Please sign in to comment.