app/controllers/symphonia/users_controller.rb in symphonia-6.0.2 vs app/controllers/symphonia/users_controller.rb in symphonia-6.0.4
- old
+ new
@@ -92,10 +92,10 @@
def unarchive
Notifier.user_change_to_active(@user).deliver_later
@user.unarchive!
respond_to do |format|
- format.html { redirect_to params[:back_url] || users_url }
+ format.html { redirect_to params[:back_url] || users_url, allow_other_host: false }
format.xml { head :no_content }
end
end
private