Coming back to the global moderation page after orga's validation. Refs #18
This commit is contained in:
parent
ba545e9fc3
commit
c94df24dc8
@ -61,7 +61,7 @@ class OrgasController < ApplicationController
|
|||||||
def accept
|
def accept
|
||||||
@orga.update moderated: true
|
@orga.update moderated: true
|
||||||
respond_to do |format|
|
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 }
|
format.json { head :no_content }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user