Fixes forums z-index appearing under logo

Fixes view count cache
This commit is contained in:
Luke Barratt 2014-05-10 15:07:54 +01:00
parent 7877b20ecc
commit 138fae1c63
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@
*/
#forums {
z-index: 100;
position: relative;
.topic-controls {

View file

@ -66,7 +66,7 @@ class Topic < ActiveRecord::Base
def cached_view_count
Rails.cache.fetch(cache_key('view_count'), expires_in: 1.hours) do
view_count
self.view_count
end
end