Skip to content

robotex82/ecm_contact

Repository files navigation

ECM Contact

Easy contact form for rails.

Installation

Add the gem to your bundle:

# Gemfile
gem 'ecm_contact'

Install your bundle:

> bundle install

Run the generator:

> rails g ecm:contact:install

This will create an initializer file in config/initializers. You should configure your recipients there.

Add the routes:

# config/routes.rb
Ecm::Contact::Routing.routes(self)

Usage

License

This project rocks and uses MIT-LICENSE.