Was trying to remove edit and delete buttons and found that permissions weren't being checked in a couple of places.
I don't know if these are the correct fixes for this, but it got rid of the edit and delete controls I was trying to remove. In rapid.dryml <def tag="table" attrs="fields, field-tag, empty"> .... <a param="edit-link" action="edit">Edit</a> becomes <a param="edit-link" if="&can_edit?" action="edit">Edit</a> And in pages.dryml.erb <def tag="edit-page" for="<%= model.name %>"> ... <delete-button label="Remove This <%= model_name :title %>" param/> becomes <delete-button if="&this.can_delete?" label="Remove This <%= model_name :title %>" param/> Brett --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
