]> gitweb.mndrdr.org Git - arelpe.git/commitdiff
Added mail configuration
authorAidan Cornelius-Bell <[email protected]>
Sun, 22 Sep 2024 23:16:08 +0000 (08:46 +0930)
committerAidan Cornelius-Bell <[email protected]>
Sun, 22 Sep 2024 23:16:08 +0000 (08:46 +0930)
app/views/posts/show.html.erb
config/environments/production.rb

index d016f9d08a5d5740962f433bd4d0fcc5fdf51b10..739d9cfb77fd3993bafb1b1e87efffe73b0588c3 100644 (file)
@@ -3,10 +3,7 @@
   <%= link_to "Back to posts", posts_path, class: "button" %>
 </div>
 <div class="post">
-  <div class="container">
-    
-    <p style="color: green"><%= notice %></p>
-    
+  <div class="container">    
     <%= render @post %>
     
     <div>
index 302f83bc84e08cd0925671038ecdf166aedc0635..01e9ceae8cbff640a64ef72a2db3911d5a6553a1 100644 (file)
@@ -77,6 +77,10 @@ Rails.application.configure do
   # Ignore bad email addresses and do not raise email delivery errors.
   # Set this to true and configure the email server for immediate delivery to raise delivery errors.
   # config.action_mailer.raise_delivery_errors = false
+  
+  config.action_mailer.default_options = {
+    from: "mind reader <[email protected]>"
+  }
 
   # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
   # the I18n.default_locale when a translation cannot be found).