From 1806494014f2676afd83c509a30c4bf9d52dc2b6 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Tue, 16 Feb 2016 16:37:12 -0800 Subject: [PATCH] remove year from popular search report --- app/views/explore/posts/searches.html.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/explore/posts/searches.html.erb b/app/views/explore/posts/searches.html.erb index 706ebbad0..9f78342ad 100644 --- a/app/views/explore/posts/searches.html.erb +++ b/app/views/explore/posts/searches.html.erb @@ -23,8 +23,7 @@ View by <%= link_to "day", searches_explore_posts_path(:date => params[:date], :scale => "day") %> | <%= link_to "week", searches_explore_posts_path(:date => params[:date], :scale => "week") %> | - <%= link_to "month", searches_explore_posts_path(:date => params[:date], :scale => "month") %> | - <%= link_to "year", searches_explore_posts_path(:date => params[:date], :scale => "year") %>. + <%= link_to "month", searches_explore_posts_path(:date => params[:date], :scale => "month") %>. Back one <%= link_to "day", searches_explore_posts_path(:date => 1.day.ago(@date), :scale => params[:scale]) %> |