diff --git a/lib/landline/extensions/session.rb b/lib/landline/extensions/session.rb index b9abe76..7761e43 100644 --- a/lib/landline/extensions/session.rb +++ b/lib/landline/extensions/session.rb @@ -84,7 +84,7 @@ module Landline @session = Landline::Session::Session.new( request.cookies.dig('session', 0)&.value, proc do |value| - delete_cookie("session", value) + delete_cookie("session") cookie("session", value) end )