<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -24,8 +24,10 @@ module Shmacros
                            (plural &amp;&amp; controller.pluralize) || 
                            controller.singularize).underscore
       
-      actions = actions.empty? ? [:index, :show, :new, :create, :edit, :update, :destroy] : actions
-      actions.shift unless plural
+      if actions.empty?
+        actions = [:index, :show, :new, :create, :edit, :update, :destroy]
+        actions.shift unless plural
+      end
 
       actions.each do |action|
         case action</diff>
      <filename>shoulda_macros/functionals.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>468c72f402693d87c1ac1acb7e7eeb0c81a91b45</id>
    </parent>
  </parents>
  <author>
    <name>Maxim Chernyak</name>
    <email>max@bitsonnet.com</email>
  </author>
  <url>http://github.com/maxim/shmacros/commit/65bcb31d58303da087171e1d5af7417f5b9f960c</url>
  <id>65bcb31d58303da087171e1d5af7417f5b9f960c</id>
  <committed-date>2009-10-13T01:12:56-07:00</committed-date>
  <authored-date>2009-10-13T01:12:56-07:00</authored-date>
  <message>Bugfix in should_rest_route. Shouldn't mess with passed-in actions.</message>
  <tree>219a6d6bcdf544a0e3e297a57e88fdc0e6808036</tree>
  <committer>
    <name>Maxim Chernyak</name>
    <email>max@bitsonnet.com</email>
  </committer>
</commit>
