diff --git a/app/mailers/kuroko2/application_mailer.rb b/app/mailers/kuroko2/application_mailer.rb index 1ad0f203..b5375a0a 100644 --- a/app/mailers/kuroko2/application_mailer.rb +++ b/app/mailers/kuroko2/application_mailer.rb @@ -1,6 +1,6 @@ module Kuroko2 class ApplicationMailer < ActionMailer::Base default from: 'from@example.com' - layout 'mailer' + layout false end end diff --git a/app/views/layouts/mailer.html.erb b/app/views/layouts/mailer.html.erb deleted file mode 100644 index 9632fba0..00000000 --- a/app/views/layouts/mailer.html.erb +++ /dev/null @@ -1,13 +0,0 @@ - - - - Kuroko2 - <%= stylesheet_link_tag "kuroko2/application", media: "all" %> - <%= javascript_include_tag "kuroko2/application" %> - - - -<%= yield %> - - - diff --git a/app/views/layouts/mailer.text.erb b/app/views/layouts/mailer.text.erb deleted file mode 100644 index 37f0bddb..00000000 --- a/app/views/layouts/mailer.text.erb +++ /dev/null @@ -1 +0,0 @@ -<%= yield %>