OK, sorry mental block, I do this sort of thing at the moment
redirect_to :action => ‘show_invoice’, :id => @enquiry
@enquiry = Enquiry.find(params[:id])
This works fine as far as it goes, it finds the invoice and dsiplays it
(my show_invoice view obviously handles the display). The URL looks
something like this.
That’s fine but the user can change 18 to say 17 and see the previous
What’s the elegant (hopefully simple) solution?