Skip to content

Having trouble creating mailers #23

@andrewhavens

Description

@andrewhavens

Hello,

I'm not sure if this is a configuration issue on my part or if I'm missing some middleware, but I am having trouble getting mailers set up in my Rails API project. I used the rails-api new command to generate a new rails app. I don't have a lot of experience with Rails so it could be user error, but I wanted to check and see if you knew if you removed something that mailers depend on.

This is the error that I'm getting:

ActionView::MissingTemplate (Missing template network_mailer/private_message with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder]}. Searched in:
  * "/usr/local/rvm/gems/ruby-1.9.2-p320/gems/kaminari-0.13.0/app/views"
):
  app/mailers/network_mailer.rb:115:in `block in private_message'
  app/mailers/network_mailer.rb:114:in `private_message'
  app/controllers/network/email_templates_controller.rb:4:in `create'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions