README.md in sht_rails-0.2.1 vs README.md in sht_rails-0.2.2
- old
+ new
@@ -1,8 +1,8 @@
# ShtRails
-Shared handlebars templates for rails 3.
+Shared handlebars templates for rails 3 and 4.
## Installation
Add this line to your application's Gemfile:
@@ -28,10 +28,10 @@
Hello {{msg}}!!!
In view you can render this template by this way:
- <%= render "tests/test", :handlebars => {msg: "Test"} %>
+ <%= render "tests/test", :handlebars => {msg: "Test"} %>
The same template you can render in JavaScript:
var content = SHT['tests/test']({msg: "Test"});