Skip to content

Commit

Permalink
Added actions
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj committed Apr 24, 2015
1 parent f7f4bd9 commit bc0db00
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Resources/views/Tree/tree.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ file that was distributed with this source code.
};
}
},
actions: {
'edit': { url: { data: '?sonata_links.edit' }, label: 'Edit', icon: 'fa fa-pencil' },
'delete': { url: { data: '?sonata_links.delete' }, label: 'Delete', icon: 'fa fa-trash-o' }
}
});
});
</script>
Expand Down

0 comments on commit bc0db00

Please sign in to comment.