From c94df24dc8c7a1b4318597cf0f3427c79205b261 Mon Sep 17 00:00:00 2001 From: echarp Date: Sun, 27 Dec 2015 00:17:09 +0100 Subject: [PATCH] Coming back to the global moderation page after orga's validation. Refs #18 --- 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 ee90de7a..9fcc7a93 100644 --- a/app/controllers/orgas_controller.rb +++ b/app/controllers/orgas_controller.rb @@ -61,7 +61,7 @@ class OrgasController < ApplicationController def accept @orga.update moderated: true respond_to do |format| - format.html { redirect_to :orgas, notice: t('.ok') } + format.html { redirect_to :moderations, notice: t('.ok') } format.json { head :no_content } end end