Sha256: f76d34091a01d6c2124f0c47295a388e1fd117e3f746504e3d495c968f65ddf9

Contents?: true

Size: 886 Bytes

Versions: 6

Compression:

Stored size: 886 Bytes

Contents

CRM Plugin for the e9 CMS
=========================

It should be noted that while this plugin is intended for use in the
e9 CMS, it does neither includes nor requires it.

To use, add as a gem and install by running:

    rails g e9_crm:install

Then modify the installed initializer as per your app, including
the controller module in your desired controllers, with the final
result looking something like this:

    require 'e9_crm'

    User.send :include, E9Crm::Backend::ActiveRecord

    Rails.configuration.after_initialize do
      [
        MyFirstTrackedController,
        MySecondTrackedController
      ].each {|c| c.send(:include, E9Crm::TrackingController) }
    end

NOTE: A few assumptions are made:
---------------------------------

1.    Your app has a "User" model
2.    Your app has a controller method #current_user to return the
      currently logged in user.

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
e9_crm-0.1.8 README.md
e9_crm-0.1.7 README.md
e9_crm-0.1.6 README.md
e9_crm-0.1.5 README.md
e9_crm-0.1.4 README.md
e9_crm-0.1.1 README.md