mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 09:42:36 +02:00
fix for stats view
This commit is contained in:
parent
9b67926cc2
commit
8dc323d803
2 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
RubyVM::YJIT.enable
|
||||||
ENV['RACK_ENV'] ||= 'development'
|
ENV['RACK_ENV'] ||= 'development'
|
||||||
ENV['TZ'] = 'UTC'
|
ENV['TZ'] = 'UTC'
|
||||||
DIR_ROOT = File.expand_path File.dirname(__FILE__)
|
DIR_ROOT = File.expand_path File.dirname(__FILE__)
|
||||||
|
|
|
@ -139,7 +139,7 @@
|
||||||
<h2>
|
<h2>
|
||||||
Total Visitors
|
Total Visitors
|
||||||
<small>
|
<small>
|
||||||
<% if params[:days].blank? %>
|
<% if params[:days].to_s.blank? %>
|
||||||
last <%= @default_stat_points %> days
|
last <%= @default_stat_points %> days
|
||||||
<% elsif params[:days] == 'sincethebigbang' %>
|
<% elsif params[:days] == 'sincethebigbang' %>
|
||||||
all time
|
all time
|
||||||
|
|
Loading…
Add table
Reference in a new issue