luisfpinto
(Luisfpinto)
5μ 4, 2016, 8:42μ€μ
1
Hello, I have installed discourse with docker and I have been looking for the routes.rb file to change the endpoint to email processing as It is said here https://meta.discourse.org/t/simple-plugin-that-offers-an-http-post-endpoint-to-mailgun-or-any-other-mail-service/37001/2
However, I can not find the directory where is that file. Can you please help me to manage this problem?
Thank you in advance
mpalmer
(Matt Palmer)
5μ 4, 2016, 9:41μ€μ
2
The routes are defined in /var/www/discourse/config/routes.rb, in the default image. However, you may wish to read this post before installing that plugin.
luisfpinto
(Luisfpinto)
5μ 4, 2016, 1:16μ€ν
3
But how can I modify that endpoint? Or customize it to use Sendgrid emails?
sam
(Sam Saffron)
5μ 5, 2016, 12:28μ€μ
4
You would build a plugin that registers the custom route you need