Skip to content

Commit

Permalink
Merge pull request #27 from asymmetric/patch-2
Browse files Browse the repository at this point in the history
Add extension info to README
  • Loading branch information
chrismccord committed Jan 15, 2016
2 parents a517107 + 3d97336 commit 591a054
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@
If you generated your app from the Phoenix master branch,
add phoenix_haml's master branch to your deps instead.
`{:phoenix_haml, github: "chrismccord/phoenix_haml"}`
2. Add the following your Phoenix `config/config.exs`
2. Add the following to your Phoenix `config/config.exs`

```elixir
config :phoenix, :template_engines,
haml: PhoenixHaml.Engine
```
```elixir
config :phoenix, :template_engines,
haml: PhoenixHaml.Engine
```
3. Use the `.html.haml` extensions for your templates.

## Optional

Expand Down

0 comments on commit 591a054

Please sign in to comment.