README.md in contact_us-0.0.4 vs README.md in contact_us-0.0.5
- old
+ new
@@ -8,26 +8,28 @@
## INSTALLATION
In your `Gemfile`, add the following dependencies:
- gem 'formtastic'
- gem 'contact_us', '~> 0.0.4'
+ gem 'formtastic', '~> 1.2.0'
+ gem 'contact_us', '~> 0.0.5'
From `Rails.root` run:
$ bundle install
$ rake contact_us:install
-
-Modify the installed initializer's mailer to settings to use your own email address.
-## CONFIGURATION
+In `config/initializers/contact_us.rb` modify:
-The installation generator creates the `contact_us.rb` initializer within your apps `config/initializers` directory.
+ config.mailer_to = "contact@please-change-me.com"
-Modify the mailer to setting to be where you would like to send the contact form emails.
+Change to the email address you would like to receive the form submissions at for example:
-The generator has also copied the view files to `app/views/contact_us`, and you can customize them to suit your needs.
+ config.mailer_to = "contact@yourdomain.com"
+
+## CONFIGURATION
+
+The generator copies the view files to `app/views/contact_us`, and you can customize them to suit your needs.
## TODO
* 100% test coverage
* i18n