README.md in curupira-0.1.0 vs README.md in curupira-0.1.1
- old
+ new
@@ -61,9 +61,23 @@
```console
rails generate curupira:controllers
```
+## Partials
+
+You should add in application.html.erb partials for menu, and helper for dispaly flash messages:
+
+```ruby
+<%- flash.each do |name, msg| -%>
+ <%= content_tag :div, msg, id: "flash_#{name}" %>
+<%- end -%>
+
+<%= render "curupira/shared/session_links" %>
+<%= render "curupira/shared/model_links" %>
+<%= yield %>
+```
+
* Add to your application.js
//= require jquery
//= require cocoon
## License
\ No newline at end of file