Skip to content

Commit

Permalink
remove :timedout from the session hash (heartcombo/devise#1777)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sascha Plaum committed Jan 15, 2014
1 parent fa76d04 commit 8bf2188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/growlyflash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def is_xhr_request?
module NoticeHelpers
def growlyflash_static_notices
return nil unless flash.any?
javascript_tag "window.flashes = #{raw(Hash[flash].to_json)};", defer: 'defer'
javascript_tag "window.flashes = #{raw(Hash[flash].except!(:timedout).to_json)};", defer: 'defer'
end
end

Expand Down

0 comments on commit 8bf2188

Please sign in to comment.