diff --git a/README.md b/README.md index 834d044..d8fdf1e 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,8 @@ After download: cd redmine bundle install RAILS_ENV=production bundle exec rake redmine:plugins:migrate NAME=redmine_custom_workflows +RAILS_ENV=production bundle exec rake assets:precompile +chown -R www-data:www-data redmine systemctl restart apache2 ``` @@ -201,4 +203,4 @@ fall into infinite loop. Compatibility ------------- -This plug-in is compatible with Redmine 4.1.x., 4.2.x. and 5.0.x. +Redmine 6.x required. diff --git a/app/views/custom_workflows/index.html.erb b/app/views/custom_workflows/index.html.erb index 4e14298..d809d61 100644 --- a/app/views/custom_workflows/index.html.erb +++ b/app/views/custom_workflows/index.html.erb @@ -59,8 +59,7 @@ <% end %> <%= link_to sprite_icon('download', l(:label_custom_workflow_export)), export_custom_workflow_path(workflow), class: 'icon icon-download', method: :get %> - <%= link_to sprite_icon('del', l(:button_delete)), workflow, class: 'icon icon-del', - data: { confirm: l(:text_are_you_sure) }, confirm: l(:text_are_you_sure), method: :delete %> + <%= delete_link custom_workflow_path(workflow) %> <% end %>