Passing variables to a form from the controller
In the controller I have an edit and delete (destroy) method. When I have carried out the action I want to pass a set of variables to a basic "success" view that describes what the success was (ie. Success - you have "deleted a record" or Success - you have "saved the edited record") with the things in quotes being the strings (plus others) that I want to pass. Here is the basic "destroy" method
Can someone give me a hint how to do this.
#(variavles to be passed to success form)
redirect_to :action => 'success'