Closed vicramon closed 6 years ago
Don’t those views go in app/views/user_mailer
? I’m probably behind the times.
Oh, they do, that's what I mean. Rails Vim is searching in app/views/user
when it should be searching in app/views/user_mailer
.
I'm confused, is my issue wrong or is this just a no-fix?
Your issue was correct and should now be fixed.
Oh sweet, thanks! My bad, didn't notice the sha in the close message.
From within a normal controller method, calling
:Eview
opens the corresponding view file. But with mailers it does not work.For example, with a
UserMailer
class, it tries this path:app/views/user/method_name
when it should beapp/views/user_mailer/method_name
.I would use this feature a lot if it existed.