Sha256: 357f319e6a8f2e0eefbff1f8d336fb8f81b9ce33736b71bb60ec0231b482ae1c

Contents?: true

Size: 210 Bytes

Versions: 9

Compression:

Stored size: 210 Bytes

Contents

module Frikandel
  module SessionInvalidation

    private

    def on_invalid_session
      reset_session
      redirect_to root_path
    end
    alias original_on_invalid_session on_invalid_session
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
frikandel-3.0.2 lib/frikandel/session_invalidation.rb
frikandel-3.0.1 lib/frikandel/session_invalidation.rb
frikandel-3.0.0 lib/frikandel/session_invalidation.rb
frikandel-2.3.0 lib/frikandel/session_invalidation.rb
frikandel-2.2.2 lib/frikandel/session_invalidation.rb
frikandel-2.2.1 lib/frikandel/session_invalidation.rb
frikandel-2.2.0 lib/frikandel/session_invalidation.rb
frikandel-2.1.0 lib/frikandel/session_invalidation.rb
frikandel-2.0.0 lib/frikandel/session_invalidation.rb