Skip to content

kmckelvin/monban-generators

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monban::Generators

Rails generators for adding in authentication components.

Installation

Add this line to your application's Gemfile:

gem 'monban-generators'

And then execute:

$ bundle

Generators

Currently there are two generators available, but over time more will be added:

Scaffold

You can generate a basic starting point for any monban app by running the following:

rails g monban:scaffold

Password Reset

If you'd like to generate basic password reset for your app, you can run:

rails g monban:password_reset

This will generate the necessary files for an implementation of resetting a user's password. It will ask you for host names for development, test and production environments in order to make the mailer work.

Contributing

  1. Fork it ( http://github.com//monban-generators/fork )
  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

About

Rails generators for the monban authentication library

Resources

License

Stars

Watchers

Forks

Packages

No packages published