README.rdoc in fcrepo_admin-0.2.3 vs README.rdoc in fcrepo_admin-0.2.4
- old
+ new
@@ -35,9 +35,15 @@
mount FcrepoAdmin::Engine => '/admin', :as=> 'fcrepo_admin'
You may replace <code>'/admin'</code> with any mount point (except perhaps <code>'/catalog'</code>),
including <code>'/'</code>. All routes include <code>objects</code> as a subpath.
+* Add abilities to your Ability class
+
+ In app/models/ability.rb add this line after the Hydra abilities:
+
+ include FcrepoAdmin::DatastreamAbility
+
* Extend the SolrDocument model
In app/models/solr_document.rb add this line:
use_extension FcrepoAdmin::SolrDocumentExtension