I am using layouts in 2.3’s ActionMalier.
I know I can specify a layout at the class level:
class MyMailer < ActionMailer::Base
layout ‘foo’
…
end
Is it possible to define one at the method level?
i.e.
class MyMailer < ActionMailer::Base
layout ‘foo’
…
def invite
USE LAYOUT FOO2
end
end
thanks.