README.md in renee-render-0.1.1 vs README.md in renee-render-0.2.0
- old
+ new
@@ -3,10 +3,10 @@
Rendering templates in Renee should be familiar and intuitive using the `render` command:
```ruby
run Renee::Core.new {
path('blog') do
- get { render! :haml, :"blogs/index" }
+ get { render! "blogs/index", :haml }
end
}
```
This above is the standard render syntax, specifying the engine followed by the template. You can also render without specifying an engine:
\ No newline at end of file