Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Commit

Permalink
adds kilt render macro
Browse files Browse the repository at this point in the history
  • Loading branch information
samueleaton committed May 6, 2017
1 parent 3fbe3cf commit 3fa556b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/raze/macros.cr
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@
macro add_context_storage_type(type)
{{ HTTP::Server::Context::STORE_MAPPINGS.push(type) }}
end

macro render(filename)
Kilt.render({{filename}})
end

0 comments on commit 3fa556b

Please sign in to comment.