From 436baff92737cb09b07955d5a8f9166b9cd38f50 Mon Sep 17 00:00:00 2001 From: echarp Date: Sun, 27 Dec 2015 00:41:47 +0100 Subject: [PATCH] Redirection to moderation after an organisation's removal --- app/controllers/orgas_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/orgas_controller.rb b/app/controllers/orgas_controller.rb index 9fcc7a93..a3ac4418 100644 --- a/app/controllers/orgas_controller.rb +++ b/app/controllers/orgas_controller.rb @@ -71,7 +71,7 @@ class OrgasController < ApplicationController def destroy @orga.destroy respond_to do |format| - format.html { redirect_to :root, notice: t('.ok') } + format.html { redirect_to :moderations, notice: t('.ok') } format.json { head :no_content } end end