README.md in redmine_crm-0.0.18 vs README.md in redmine_crm-0.0.19
- old
+ new
@@ -1,9 +1,11 @@
# RedmineCrm
Gem include next functional for Redmine plugins:
- rcrm_acts_as_taggable
+ * rcrm_acts_as_taggable
+ * rcrm_acts_as_votable
+ * rcrm_acts_as_viewable
## Installation
Add this line to your application's Gemfile:
@@ -18,18 +20,18 @@
Or install it yourself as:
$ gem install redmine_crm
Create migration with next code:
-```ruby
+```ruby
require 'redmine_crm/rcrm_acts_as_taggable'
def self.up
ActiveRecord::Base.create_taggable_table
end
- def self.down
+ def self.down
ActiveRecord::Base.drop_taggable_table
end
end
```
Run migration for plugin:
@@ -45,15 +47,9 @@
```ruby
rcrm_acts_as_taggable
rcrm_acts_as_votable
```
-For use css and js from gem you may use code like this:
-
-<% content_for :header_tags do %>
- <%= javascript_include_tag "redmine_crm" %>
- <%= stylesheet_link_tag "redmine_crm" %>
-<% end %>
## Run test
```
rake test
\ No newline at end of file