Just a suggestion for someone else doing the same thing, I replaced
the default hobo destroy method to instead send to a purge
publication. Then I was able to leave the standard hobo view code and
delete buttons etc.
def destroy
letter = find_instance
letter.publication = Publication.find_by_name('Purge')
letter.save
render :nothing => true
end
On Jun 29, 9:05 am, Pete <[email protected]> wrote:
> Brilliant,
>
> Thank you, works perfectly!
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.