Class: PublishingPlatform::SSO::FailureApp
- Inherits:
-
ActionController::Metal
- Object
- ActionController::Metal
- PublishingPlatform::SSO::FailureApp
- Includes:
- AbstractController::Rendering, ActionController::Redirecting, ActionController::Renderers, ActionController::Rendering, ActionController::UrlFor
- Defined in:
- lib/publishing_platform_sso/failure_app.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.call(env) ⇒ Object
14 15 16 17 |
# File 'lib/publishing_platform_sso/failure_app.rb', line 14 def self.call(env) # TODO: handle api calls action(:redirect).call(env) end |
Instance Method Details
#redirect ⇒ Object
19 20 21 |
# File 'lib/publishing_platform_sso/failure_app.rb', line 19 def redirect redirect_to "/auth/publishing_platform" end |