app/controllers/nyauth/confirmations_controller.rb in nyauth-0.2.1 vs app/controllers/nyauth/confirmations_controller.rb in nyauth-0.2.2

- old
+ new

@@ -7,10 +7,10 @@ respond_to :html, :json before_action :set_client def update @client.confirm - respond_with(@client, location: Nyauth.configuration.redirect_path_after_update_confirmation || main_app.root_path) + respond_with(@client, location: Nyauth.configuration.redirect_path_after_update_confirmation.call(client_name) || main_app.root_path) end private def set_client