app/controllers/caboose/logout_controller.rb in caboose-cms-0.3.47 vs app/controllers/caboose/logout_controller.rb in caboose-cms-0.3.48
- old
+ new
@@ -1,10 +1,9 @@
module Caboose
class LogoutController < ApplicationController
# GET /logout
def index
- cookies.delete(:caboose_user_id)
- reset_session
+ logout_user
redirect_to "/"
end
end
end
\ No newline at end of file