From 53724edbfb0dac54bf6c0934e726398cb3d5348f Mon Sep 17 00:00:00 2001 From: gautamig54 Date: Mon, 11 Mar 2019 04:23:48 +0530 Subject: [PATCH] link to main stats page ontag stats page --- app/views/tag/stats.html.erb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/tag/stats.html.erb b/app/views/tag/stats.html.erb index db6149876a..d8335a6319 100644 --- a/app/views/tag/stats.html.erb +++ b/app/views/tag/stats.html.erb @@ -1,6 +1,8 @@
- +

Tag statistics for <%= @tags.first.name %>

+
+ <%= link_to " See statistics for all contents", stats_path %>
<%= form_tag request.url, method: :get do %> @@ -26,6 +28,6 @@ <% if @tags.first.count.nil? %> There are no posts for this tag yet <% else %> - Total Tag count : <%= @tags.first.count %> + Total Tag count : <%= @tags.first.count %> <% end %>