Contactify¶ ↑
Manage your contacts with reCaptcha.
Builds the form to get contacts on your site using reCaptcha and the Rails resources for managing your contacts.
Installation¶ ↑
-
Add to your Gemfile:
gem 'contactify'
-
Run
bundle
-
Execute:
rails generate contactify:install
-
Run migrations:
rake db:migrate
-
Get your keys: www.google.com/recaptcha
-
Add your keys to:
your_project/config/initializers/recaptcha.rb
-
Add to your routes.rb:
mount Contactify::Engine => "/contactify", :as => "contactify_engine"
-
Add the link to the Contact Page:
<%= link_to "New contact", contactify_engine.contact_us_path %>
-
Add a link in your backend so you can manage your contacts:
<%= link_to "Contacts", contactify.contacts_path %>