Remove bogus action attribute from the submit button - it should have
authorTom Hughes <tom@compton.nu>
Thu, 15 May 2008 09:34:45 +0000 (09:34 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 15 May 2008 09:34:45 +0000 (09:34 +0000)
no effect as there is no such attribute defined, but Opera seems to
decide that it should post the form to that URL instead of the one
give on the form element.

app/views/message/new.rhtml

index 214df8d31fd8f1de8130d335559d12590b961277..d7bb18f8e59461492982ab5ec2ccea114a2b5499 100644 (file)
@@ -22,7 +22,7 @@
     </tr>
     <tr>
       <th></th>
-      <td><%= submit_tag 'Send', :action => 'new' %></td>
+      <td><%= submit_tag 'Send' %></td>
     </tr>
   </table>
 <% end %>