diff --git a/app/assets/stylesheets/pages/_forums.scss b/app/assets/stylesheets/pages/_forums.scss index 330a67d..da2e563 100644 --- a/app/assets/stylesheets/pages/_forums.scss +++ b/app/assets/stylesheets/pages/_forums.scss @@ -3,6 +3,7 @@ */ #forums { + z-index: 100; position: relative; .topic-controls { diff --git a/app/models/topic.rb b/app/models/topic.rb index d57af77..3d85a00 100644 --- a/app/models/topic.rb +++ b/app/models/topic.rb @@ -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