README.md in redditor-0.1.6 vs README.md in redditor-0.1.7
- old
+ new
@@ -37,12 +37,24 @@
In admin new/edit view if that model add
%div= render "redditor/admin/pages/page", {f: f}
+Add `multipart: true` to form of object with redditor
+
+ html: {multipart: true}
+
Add engine to `routes.rb`
mount Redditor::Engine => "/redditor"
Add this line to edit action in controller (change @article to you model)
- @article.build_page.save unless @article.page
+ @article.build_page.save unless @article.page
+
+Add redditor js to your js manifest file for admin (admin.js)
+
+ //= require redditor/application
+
+Add redditor styles to css manifest file for admin (admin.css)
+
+ //= require redditor/application
\ No newline at end of file