Class: SlackSignIn::CallbacksController

Inherits:
ApplicationController show all
Defined in:
app/controllers/slack_sign_in/callbacks_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



2
3
4
5
6
# File 'app/controllers/slack_sign_in/callbacks_controller.rb', line 2

def show
  return head(:bad_request) if proceed_to_missing?

  redirect_to proceed_to_url, flash: {slack_sign_in: }
end