Redirection to moderation after an organisation's removal

This commit is contained in:
echarp 2015-12-27 00:41:47 +01:00
parent 7379313076
commit 436baff927

View File

@ -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