Class: SessionsController

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

Instance Method Summary collapse

Methods included from SessionsHelper

#current_user, #log_in, #log_out, #logged_in?

Instance Method Details

#destroyObject


5
6
7
8
# File 'app/controllers/sessions_controller.rb', line 5

def destroy
  log_out
  redirect_to root_path
end

#newObject


2
3
# File 'app/controllers/sessions_controller.rb', line 2

def new
end