Class: Nyauth::ConfirmationsController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/nyauth/confirmations_controller.rb

Instance Method Summary collapse

Methods included from ClientConcern

#initialize

Methods included from ApplicationHelper

#detect_url_helper, #detect_url_helper_for_app, #detect_url_helper_for_nyauth, #method_missing, #root_path

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Nyauth::ApplicationHelper

Instance Method Details

#updateObject



8
9
10
11
# File 'app/controllers/nyauth/confirmations_controller.rb', line 8

def update
  @client.confirm
  respond_with(@client, location: Nyauth.configuration.redirect_path_after_update_confirmation.call(nyauth_client_name) || main_app.root_path)
end