Redirection to moderation after an organisation's removal
This commit is contained in:
parent
7379313076
commit
436baff927
@ -71,7 +71,7 @@ class OrgasController < ApplicationController
|
|||||||
def destroy
|
def destroy
|
||||||
@orga.destroy
|
@orga.destroy
|
||||||
respond_to do |format|
|
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 }
|
format.json { head :no_content }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user