Class: Binda::ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/binda/application_controller.rb

Instance Method Summary collapse

Instance Method Details

#after_sign_in_path_for(_) ⇒ Object

_ indicates that we are not using the argument in the method



9
10
11
# File 'app/controllers/binda/application_controller.rb', line 9

def (_)
  binda.dashboard_path
end

#after_sign_out_path_for(_) ⇒ Object

_ indicates that we are not using the argument in the method



14
15
16
# File 'app/controllers/binda/application_controller.rb', line 14

def after_sign_out_path_for(_)
  root_path
end