app/controllers/nyauth/passwords_controller.rb in nyauth-0.5.0 vs app/controllers/nyauth/passwords_controller.rb in nyauth-0.6.0
- old
+ new
@@ -1,11 +1,7 @@
module Nyauth
- class PasswordsController < ApplicationController
- include Nyauth::ControllerConcern
+ class PasswordsController < Nyauth::BaseController
before_action -> { require_authentication! as: nyauth_client_name }
-
- self.responder = Nyauth::AppResponder
- respond_to :html, :json
before_action :set_client
def edit
end