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.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to