From e2b00f7f379bf434f726a31baefbbc4cca545ad8 Mon Sep 17 00:00:00 2001 From: edshot99 Date: Tue, 28 Jan 2025 09:13:26 -0600 Subject: [PATCH] remove Discord and Subscribestar from navbar and routes --- app/views/layouts/_nav.html.erb | 6 +----- config/routes.rb | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/app/views/layouts/_nav.html.erb b/app/views/layouts/_nav.html.erb index 7db448f12..4c3bb1867 100644 --- a/app/views/layouts/_nav.html.erb +++ b/app/views/layouts/_nav.html.erb @@ -41,13 +41,9 @@ "> - <% if !CurrentUser.is_anonymous? %> - <%= custom_image_nav_link_to("Discord", "discord.com.png", discord_get_path, class: "nav-help-discord") %> - <% end %> - <%= custom_image_nav_link_to("Subscribestar", "subscribestar.adult.png", subscribestar_path, class: "nav-help-subscribestar") %> <%= nav_link_to("Wiki", wiki_pages_path(title: "help:home"), class: "nav-help-wiki") %> <%= nav_link_to("Help", help_pages_path, class: "nav-help-help") %> <%= nav_link_to("More", site_map_path, class: "nav-help-map") %> - \ No newline at end of file + diff --git a/config/routes.rb b/config/routes.rb index b4f8cddbb..fd2bd0806 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -476,7 +476,7 @@ Rails.application.routes.draw do get "/static/toggle_mobile_mode" => "static#disable_mobile_mode", as: "disable_mobile_mode" get "/static/theme" => "static#theme", as: "theme" get "/static/avoid_posting" => "static#avoid_posting", as: "avoid_posting_static" - get "/static/subscribestar" => "static#subscribestar", as: "subscribestar" + # get "/static/subscribestar" => "static#subscribestar", as: "subscribestar" get "/meta_searches/tags" => "meta_searches#tags", :as => "meta_searches_tags" root :to => "static#home"