Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
palexander committed May 21, 2015
1 parent 8ec66d6 commit 2af7937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ontologies_api_client/read_write.rb
Expand Up @@ -84,7 +84,7 @@ def invalidate_cache
self.class.all(invalidate_cache: true)
HTTP.get(self.id, invalidate_cache: true) if self.id
session = Thread.current[:session]
session[:last_update] = Time.now.to_f if session
session[:last_updated] = Time.now.to_f if session
refresh_cache
end

Expand Down

0 comments on commit 2af7937

Please sign in to comment.