{"action":"created","issue":{"url":"https://api.github.com/repos/chrismccord/phoenix_haml/issues/14","labels_url":"https://api.github.com/repos/chrismccord/phoenix_haml/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/chrismccord/phoenix_haml/issues/14/comments","events_url":"https://api.github.com/repos/chrismccord/phoenix_haml/issues/14/events","html_url":"https://github.com/chrismccord/phoenix_haml/issues/14","id":89863232,"number":14,"title":" function error/0 undefined","user":{"login":"slavad","id":350121,"avatar_url":"https://avatars.githubusercontent.com/u/350121?v=3","gravatar_id":"","url":"https://api.github.com/users/slavad","html_url":"https://github.com/slavad","followers_url":"https://api.github.com/users/slavad/followers","following_url":"https://api.github.com/users/slavad/following{/other_user}","gists_url":"https://api.github.com/users/slavad/gists{/gist_id}","starred_url":"https://api.github.com/users/slavad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slavad/subscriptions","organizations_url":"https://api.github.com/users/slavad/orgs","repos_url":"https://api.github.com/users/slavad/repos","events_url":"https://api.github.com/users/slavad/events{/privacy}","received_events_url":"https://api.github.com/users/slavad/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-21T04:32:07Z","updated_at":"2015-06-28T11:48:05Z","closed_at":"2015-06-28T11:48:05Z","body":"I'm trying to create add haml to a new Phoenix application, but I'm getting this error\r\n```\r\n$ mix phoenix.server\r\n==> phoenix_haml\r\nCompiled lib/phoenix_haml.ex\r\nCompiled lib/phoenix_haml/engine.ex\r\nGenerated phoenix_haml.app\r\n==> hello_phoenix\r\nCompiled lib/hello_phoenix.ex\r\nCompiled web/web.ex\r\nCompiled lib/hello_phoenix/repo.ex\r\nCompiled web/router.ex\r\nCompiled web/views/error_view.ex\r\nCompiled web/controllers/page_controller.ex\r\nCompiled web/views/page_view.ex\r\n\r\n== Compilation error on file web/views/layout_view.ex ==\r\n** (CompileError) web/templates/layout/application.html.haml:1: function error/0 undefined\r\n    (stdlib) lists.erl:1336: :lists.foreach/2\r\n    (stdlib) erl_eval.erl:657: :erl_eval.do_apply/6\r\n```\r\napplication.html.haml looks like this:\r\n```\r\n!!!\r\n%html{:lang => \"en\"}\r\n  %head\r\n    %meta{:charset => \"utf-8\"}/\r\n    %meta{:content => \"IE=edge\", \"http-equiv\" => \"X-UA-Compatible\"}/\r\n    %meta{:content => \"width=device-width, initial-scale=1\", :name => \"viewport\"}/\r\n    %meta{:content => \"\", :name => \"description\"}/\r\n    %meta{:content => \"\", :name => \"author\"}/\r\n    %title Hello Phoenix!\r\n    %link{:href => static_path(@conn, \"/css/app.css\"), :rel => \"stylesheet\"}/\r\n  %body\r\n    .container{:role => \"main\"}\r\n      .header\r\n        %ul.nav.nav-pills.pull-right\r\n          %li\r\n            %a{:href => \"http://www.phoenixframework.org/docs\"} Get Started\r\n        %span.logo\r\n      %p.alert.alert-info{:role => \"alert\"}= get_flash(@conn, :info)\r\n      %p.alert.alert-danger{:role => \"alert\"}= get_flash(@conn, :error)\r\n      = @inner\r\n    / /container\r\n    %script{:src => static_path(@conn, \"/js/app.js\")}\r\n    :javascript\r\n      require(\"web/static/js/app\")\r\n```\r\nI use phoenix 0.13.1 and phoenix_haml 0.1.2\r\n\r\nIs it a bug, or did I miss something? Looks very similar to #4 "},"comment":{"url":"https://api.github.com/repos/chrismccord/phoenix_haml/issues/comments/116262981","html_url":"https://github.com/chrismccord/phoenix_haml/issues/14#issuecomment-116262981","issue_url":"https://api.github.com/repos/chrismccord/phoenix_haml/issues/14","id":116262981,"user":{"login":"slavad","id":350121,"avatar_url":"https://avatars.githubusercontent.com/u/350121?v=3","gravatar_id":"","url":"https://api.github.com/users/slavad","html_url":"https://github.com/slavad","followers_url":"https://api.github.com/users/slavad/followers","following_url":"https://api.github.com/users/slavad/following{/other_user}","gists_url":"https://api.github.com/users/slavad/gists{/gist_id}","starred_url":"https://api.github.com/users/slavad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slavad/subscriptions","organizations_url":"https://api.github.com/users/slavad/orgs","repos_url":"https://api.github.com/users/slavad/repos","events_url":"https://api.github.com/users/slavad/events{/privacy}","received_events_url":"https://api.github.com/users/slavad/received_events","type":"User","site_admin":false},"created_at":"2015-06-28T11:48:05Z","updated_at":"2015-06-28T11:48:05Z","body":"@Stavrus, thanks for the workaround"}}