Skip to content

Commit

Permalink
Fix: ECR.embed to replace ecr_embed
Browse files Browse the repository at this point in the history
  • Loading branch information
ysbaddaden committed Feb 18, 2016
1 parent 015c77a commit 2ab67ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prax/views.cr
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Prax
class Views
macro render(name)
String.build do |__str__|
embed_ecr "#{{{__DIR__}}}/templates/{{name.id}}.ecr", "__str__"
ECR.embed("#{{{__DIR__}}}/templates/{{name.id}}.ecr", "__str__")
end
end

Expand Down

0 comments on commit 2ab67ce

Please sign in to comment.