forked from e621ng/e621ng
remove Discord and Subscribestar from navbar and routes
This commit is contained in:
parent
deae47972e
commit
e2b00f7f37
@ -41,10 +41,6 @@
|
|||||||
</menu>
|
</menu>
|
||||||
|
|
||||||
<menu class="nav-help <%= CurrentUser.is_anonymous? ? "anonymous" : "" %>">
|
<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("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("Help", help_pages_path, class: "nav-help-help") %>
|
||||||
<%= nav_link_to("More", site_map_path, class: "nav-help-map") %>
|
<%= nav_link_to("More", site_map_path, class: "nav-help-map") %>
|
||||||
|
@ -476,7 +476,7 @@ Rails.application.routes.draw do
|
|||||||
get "/static/toggle_mobile_mode" => "static#disable_mobile_mode", as: "disable_mobile_mode"
|
get "/static/toggle_mobile_mode" => "static#disable_mobile_mode", as: "disable_mobile_mode"
|
||||||
get "/static/theme" => "static#theme", as: "theme"
|
get "/static/theme" => "static#theme", as: "theme"
|
||||||
get "/static/avoid_posting" => "static#avoid_posting", as: "avoid_posting_static"
|
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"
|
get "/meta_searches/tags" => "meta_searches#tags", :as => "meta_searches_tags"
|
||||||
|
|
||||||
root :to => "static#home"
|
root :to => "static#home"
|
||||||
|
Loading…
Reference in New Issue
Block a user