remove Discord and Subscribestar from navbar and routes

This commit is contained in:
edshot99 2025-01-28 09:13:26 -06:00
parent deae47972e
commit e2b00f7f37
2 changed files with 2 additions and 6 deletions

View File

@ -41,13 +41,9 @@
</menu>
<menu class="nav-help <%= CurrentUser.is_anonymous? ? "anonymous" : "" %>">
<% 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") %>
</menu>
</nav>
</nav>

View File

@ -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"