UserMgmt

TODO: Write a gem description

Installation

Add this line to your application's Gemfile:

gem 'user_mgmt'

And then execute:

$ bundle

Then you have to run the generator:

rails generate user_mgmt:install

This generator will install an initializer which describes all the gem's configuration options and you must take a look at it.

Usage

The gem includes some views (with their respective controllers) that are gonna be used by many distinct apps.

In order to use the gem's views, you have to refer to them by:

user_mgmt.<route path>

Which can be "log_in_path", "sign_up_path" and "log_out_path" (more to be added in the future), e.g:

user_mgmt.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request