X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/7c42552f16c646d5a21595bc008503b7bbb311f7..7da8a5a1a82c759ff08a7cf434bb1e51158ff7af:/app/controllers/redactions_controller.rb diff --git a/app/controllers/redactions_controller.rb b/app/controllers/redactions_controller.rb index a70ada3ec..03324ad8f 100644 --- a/app/controllers/redactions_controller.rb +++ b/app/controllers/redactions_controller.rb @@ -68,7 +68,7 @@ class RedactionsController < ApplicationController else if @redaction.destroy flash[:notice] = t('redaction.destroy.flash') - redirect_to :index + redirect_to :redactions else flash[:error] = t('redaction.destroy.error') redirect_to @redaction