Commit 750140f
Changed files (4)
config/initializers/griddler.rb
@@ -2,5 +2,5 @@ Griddler.configure do |config|
config.processor_class = EmailProcessor
config.processor_method = :process
config.reply_delimiter = '-- REPLY ABOVE THIS LINE --'
- config.email_service = :mandrill
+ config.email_service = :sendgrid
end
config/routes.rb
@@ -15,6 +15,6 @@ Rails.application.routes.draw do
get "/dashboard" => "training_sessions#index", as: :dashboard
get "/terms" => "static_pages#terms"
- get "/email/incoming", to: proc { [200, {}, ["OK"]] }, as: "mandrill_head_test_request"
+ get "/email/incoming", to: proc { [200, {}, ["OK"]] }
post "/email/incoming" => "griddler/emails#create"
end
Gemfile
@@ -28,7 +28,7 @@ source 'https://rubygems.org' do
gem 'geocoder'
gem 'geokit-rails'
gem 'griddler'
- gem 'griddler-mandrill'
+ gem 'griddler-sendgrid'
gem 'groupdate'
gem 'i18n-tasks', group: :development
gem 'jbuilder', '~> 2.0'
Gemfile.lock
@@ -180,8 +180,8 @@ GEM
griddler (1.3.1)
htmlentities
rails (>= 3.2.0)
- griddler-mandrill (1.1.3)
- griddler (>= 1.2.1)
+ griddler-sendgrid (0.0.1)
+ griddler
groupdate (2.5.2)
activesupport (>= 3)
haml (4.0.7)
@@ -450,7 +450,7 @@ DEPENDENCIES
geocoder!
geokit-rails!
griddler!
- griddler-mandrill!
+ griddler-sendgrid!
groupdate!
i18n-tasks!
jbuilder (~> 2.0)!