]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/redactions_controller.rb
Added redactions controller test and fixed a bug in the controller
[rails.git] / app / controllers / redactions_controller.rb
index a70ada3ecddf7ba3c5693c4f475957b15571cb0c..03324ad8f30cb0fdcd0b143929c1ef452b8835a8 100644 (file)
@@ -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