mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: apply defaults constraints to routes format (take 2) (#7920)
Reapplies 7d01c5de1a
This commit is contained in:
@@ -1065,7 +1065,10 @@ class UsersController < ApplicationController
|
||||
@confirmed = true
|
||||
end
|
||||
|
||||
render layout: 'no_ember'
|
||||
respond_to do |format|
|
||||
format.json { render json: success_json }
|
||||
format.html { render layout: 'no_ember' }
|
||||
end
|
||||
end
|
||||
|
||||
def list_second_factors
|
||||
|
||||
Reference in New Issue
Block a user