Coming back to the global moderation page after orga's validation. Refs #18

This commit is contained in:
echarp 2015-12-27 00:17:09 +01:00
parent ba545e9fc3
commit c94df24dc8

View File

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