<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -53,7 +53,7 @@
 
 (defun rails-controller-layout:toggle-action-view ()
   (interactive)
-  (let ((controller-name (rails-core:current-controller))
+  (let ((controller-name (or (rails-core:current-controller) (rails-core:current-mailer)))
         (action-name (rails-core:current-action)))
     (case (rails-core:buffer-type)
       (:view</diff>
      <filename>rails-controller-layout.el</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2ce2665fceb10820f5b98cce3fce11f5b935486e</id>
    </parent>
  </parents>
  <author>
    <name>Remco van 't Veer</name>
    <email>rwvtveer@xs4all.nl</email>
  </author>
  <url>http://github.com/remvee/emacs-rails/commit/f6f5c80973ebd77c58667475ed9afca4accc3d2a</url>
  <id>f6f5c80973ebd77c58667475ed9afca4accc3d2a</id>
  <committed-date>2009-06-09T05:00:38-07:00</committed-date>
  <authored-date>2009-06-09T05:00:38-07:00</authored-date>
  <message>fix rails-controller-layout:toggle-action-view to properly handle switching from a mailer action to a view</message>
  <tree>e1837bd264ba805e066acba11476095658a75001</tree>
  <committer>
    <name>Remco van 't Veer</name>
    <email>rwvtveer@xs4all.nl</email>
  </committer>
</commit>
