calebhc/way — pull request #3 by intjonathan (2012-05-15 23:46:47+00:00)
Title: Using with ActionMailer in web views causes crash.

Fixes issue where ActionMailer controllers used in web views (for email preview code) would crash due to the lack of params in mailers.

Example error output:

ActionView::TemplateError (undefined method `params' for #) on line #1 of app/views/layouts/email/email.text.html.erb:
1: <%= render :partial => 'layouts/email/email_header' %>
2:

3:
4: <%= yield :layout %>

way (1.1.2) lib/way.rb:40:in `render_partial'