El 22/08/12 08:27, tomkins escribió:
I uploaded a different database that has the same structure but different data than the old database, and the remove button in a table has stopped working. It removes the item from the table but when I refresh the page it returns. I looked into the logs and I can see Hobo: Permission Denied!
This is my destroy_permitted? function:
def destroy_permitted?
    acting_user == user or acting_user.administrator?
  end

user is the name of the user?


--
Saludos libres,

Quiliro Ordóñez
Presidente
Asociación de Software Libre del Ecuador - ASLE
Av de la Prensa N58-219 y Cristóbal Vaca de Castro
Quito, Ecuador
(593)2-253 5534
(593)2-259 5632
(593)8-454 8078

--
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.

Reply via email to