mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 04:51:14 +00:00
Fixes forums z-index appearing under logo
Fixes view count cache
This commit is contained in:
parent
7877b20ecc
commit
138fae1c63
2 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
*/
|
||||
|
||||
#forums {
|
||||
z-index: 100;
|
||||
position: relative;
|
||||
|
||||
.topic-controls {
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue