Class: Nyauth::ResetPasswordRequestsController
- Inherits:
-
BaseController
- Object
- ActionController::Base
- BaseController
- Nyauth::ResetPasswordRequestsController
- Defined in:
- app/controllers/nyauth/reset_password_requests_controller.rb
Instance Method Summary collapse
Methods included from ClientConcern
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
#create ⇒ Object
10 11 12 13 |
# File 'app/controllers/nyauth/reset_password_requests_controller.rb', line 10 def create @service.save(as: nyauth_client_name) respond_with(@service, location: Nyauth.configuration.redirect_path_after_reset_password_request.call(nyauth_client_name) || main_app.root_path) end |
#new ⇒ Object
7 8 |
# File 'app/controllers/nyauth/reset_password_requests_controller.rb', line 7 def new end |