Sha256: b8ca33e2e1202ea1e68e547ab4ffd1df7d5f1ddd507337e5c2135a1e9c2e20e2

Contents?: true

Size: 357 Bytes

Versions: 3

Compression:

Stored size: 357 Bytes

Contents

class User::SessionsController < Devise::SessionsController
  # layout 'user/login'

  private

  # Overwriting the sign_out redirect path method
  def after_sign_in_path_for(resource_or_scope)
    user_root_path
  end

  # Overwriting the sign_out redirect path method
  def after_sign_out_path_for(resource_or_scope)
    new_user_session_path
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cybele-1.9.2 templates/app/controllers/user/sessions_controller.rb
cybele-1.9.1 templates/app/controllers/user/sessions_controller.rb
cybele-1.9.0 templates/app/controllers/user/sessions_controller.rb