README.md in copy-0.1.4 vs README.md in copy-0.1.5
- old
+ new
@@ -35,10 +35,10 @@
The text provided in the block will be saved and can then be edited live on the site. All content is formatted with Markdown. [See demo](http://copy-demo.heroku.com) for a live example or [view the source](https://github.com/javan/copy-demo).
Single line blocks will be edited in a text field as opposed to a textarea. Perfect for headlines.
- <h1><% copy :title %>Like a boss!<% end %></h1>
+ <h1><% copy :title do %>Like a boss!<% end %></h1>
**Partials** can be rendered from any view with the `partial` helper. Their filenames are always prefixed with an underscore.
* `<%= partial 'nav' %>` renders `_nav.html.erb`
* `<%= partial 'shared/details' %>` renders `shared/_details.html.erb`
\ No newline at end of file