diff options
| author | Teddy Wing | 2017-06-12 16:13:34 +0200 |
|---|---|---|
| committer | Teddy Wing | 2017-06-12 16:13:34 +0200 |
| commit | d488e4e7251d3e0cc5b8ffe8ddbe6960fa99d14c (patch) | |
| tree | cda7bfca2b12f739c035292c78df897a44f8f9e4 /app | |
| parent | e7b663195bcf3370a4cca10d97453e62101e3f38 (diff) | |
| download | chouette-core-d488e4e7251d3e0cc5b8ffe8ddbe6960fa99d14c.tar.bz2 | |
TableBuilder: Add a couple TODOs
I had added these last week uncommitted, but still haven't gotten to
them. Figure I should just commit them to save them and remove them when
I get to them.
Refs #3479
Diffstat (limited to 'app')
| -rw-r--r-- | app/helpers/table_builder_helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/helpers/table_builder_helper.rb b/app/helpers/table_builder_helper.rb index 090f78c0a..7cdc7eabb 100644 --- a/app/helpers/table_builder_helper.rb +++ b/app/helpers/table_builder_helper.rb @@ -127,6 +127,7 @@ module TableBuilderHelper if action == :delete if policy(item).present? if policy(item).destroy? + # TODO: This tag is exactly the same as the one below it content_tag :li, '', class: 'delete-action' do link_to(polymorph_url, method: :delete, data: { confirm: 'Etes-vous sûr(e) de vouloir effectuer cette action ?' }) do txt = t("actions.#{action}") |
