Thanks David, i would even argue that we should get rid of the 
conditional altogether and just return the index by default after any 
action on an instance?

       format.html do
         driver.send(meth, credentials, params[:id])
-       if params[:action] == 'destroy'
-       if ( (params[:action] == 'destroy') or (params[:action] == 'stop') )
         redirect instances_url
-       else
-         redirect instance_url(params[:id])





On 18/05/10 19:29, David Lutterkort wrote:
> On Tue, 2010-05-18 at 19:01 +0100, [email protected] wrote:
>> From: marios<[email protected]>
>
> ACK
>
>
> _______________________________________________
> deltacloud-devel mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/deltacloud-devel

_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to