app/controllers/nyauth/passwords_controller.rb in nyauth-0.2.6 vs app/controllers/nyauth/passwords_controller.rb in nyauth-0.2.7
- old
+ new
@@ -3,9 +3,10 @@
include Nyauth::ApplicationConcern
include Nyauth::ClientConcern
include Nyauth::SessionConcern
before_action -> { require_authentication! as: client_name }
+ self.responder = Nyauth::AppResponder
respond_to :html, :json
before_action :set_client
def edit
end