Skip to content

Commit

Permalink
Merge pull request #5 from vreen/master
Browse files Browse the repository at this point in the history
remove :timedout from the session hash (https://github.com/plataformatec...
  • Loading branch information
estum committed Jan 17, 2014
2 parents fa76d04 + 8bf2188 commit 57443ec
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 57443ec

Please sign in to comment.