Allow additional links in table actions component

This way we'll be able to make these links consistent.
This commit is contained in:
Javi Martín
2020-06-12 19:23:25 +02:00
parent e3753b1ad9
commit fb23df2e5b
20 changed files with 131 additions and 116 deletions

View File

@@ -1,3 +1,5 @@
<%= content %>
<% if actions.include?(:edit) %>
<%= link_to edit_text, edit_path, edit_options %>
<% end %>