Skip to content

Commit c10d6f8

Browse files
committed
Merge pull request #21 from martinos/fix_issue_with_1.1.4
fixing html generator for phoenix 1.1.4
2 parents 80d18dd + 9d4d510 commit c10d6f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/mix/tasks/phoenix.gen.html.slime.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ defmodule Mix.Tasks.Phoenix.Gen.Html.Slime do
4242
path = binding[:path]
4343
route = String.split(path, "/") |> Enum.drop(-1) |> Kernel.++([plural]) |> Enum.join("/")
4444
binding = binding ++ [plural: plural, route: route, attrs: attrs,
45+
binary_id: opts[:binary_id],
4546
sample_id: sample_id(opts),
4647
inputs: inputs(attrs), params: Mix.Phoenix.params(attrs),
4748
template_singular: String.replace(binding[:singular], "_", " "),

0 commit comments

Comments
 (0)