handlebars テンプレートを定義するための script タグを出力する view helper を提供する
Add this line to your application's Gemfile:
gem 'ans-handlebars'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ans-handlebars
module ApplicationHelper
include Ans::Handlebars
end
<%= handlebars do %>
<!-- application template -->
<% end %>
<%= handlebars "template_name" do %>
<!-- handlebars template -->
<% end %>
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request