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
|
||||
@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
|
||||
|
Loading…
Reference in New Issue
Block a user