Rails generators for adding in authentication components.
Add this line to your application's Gemfile:
gem 'monban-generators'
And then execute:
$ bundle
Currently there are two generators available, but over time more will be added:
You can generate a basic starting point for any monban app by running the following:
rails g monban:scaffold
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.
- Fork it ( http://github.com//monban-generators/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request