title: Rails error finding actionmailer template despite email sending correctly
body: <p>I have a rails app running on passenger with a mailer. I have it so the page following the action shows the email content but I get this error:</p>
  
  <pre><code>Missing template rfis/mail, application/mail with {:locale=&gt;[:en], :formats=&gt;[:html], :variants=&gt;[], :handlers=&gt;[:erb, :builder, :raw, :ruby, :coffee, :slim, :jbuilder]}. Searched in: * "/var/www/rqm3/app/views" * "/usr/local/rvm/gems/ruby-2.1.5/gems/devise-3.5.1/app/views" * "/usr/local/rvm/gems/ruby-2.1.5/gems/twitter-bootstrap-rails-3.2.0/app/views"
  </code></pre>
  
  <p>despite this, the email does correctly load the template when being sent.  It's only showing it in a view that causes issues.</p>
  
  <p>rfis_controller.rb:</p>
  
  <pre><code>  def mail
      @mail_message = RfiMailer.send_rfi(current_user, @rfi).deliver
    end
  </code></pre>
  
  <p>rfi_mailer.rb:</p>
  
  <pre><code>class RfiMailer &lt; ApplicationMailer
      default from:"testemail@mail.com"
      def send_rfi(user, rfi)
  
          mail(to:"other@test.com")
      end
  end
  </code></pre>
  
  <p>send_rfi.html.erb:</p>
  
  <pre><code>test
  </code></pre>