spree/spree — pull request #1340 by alekseydem (2012-03-30 21:57:33+00:00)
Title: Fix bugs with errors on update action in Return Authorizations

NoMethodError raised when you do this steps:
1. Create return authorization for all products in order
2. Receive it
3. Click Update
3. You'll receive an error
`undefined method `admin_return_authorization_url'`
cause of :location => [:admin, @object] gives path without nesting (order/return_authorizations)

Second error is `NoMethodError: undefined method `each' for nil:NilClass`
It occurs when we update recieved Return Authorization because there's no fields 'return_quantity[]' in its edit form.