_permission.haml revision d62eba79f306957dd89ea9d3313600e98e2a8beb
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen%li{'data-id' => permission.subject_id, 'data-type' => permission.subject_type, 'data-role' => permission.role, 'data-uri' => url_for([permission.item, permission]) }
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen = link_to 'edit', '#', rel: :edit
78fa3c578c14ee8a612f86cf73b6181c7f16463fTimo Sirainen = link_to 'delete', [permission.item, permission], method: :delete, remote: true, confirm: 'really delete?'