Disable mailroom (#681)

This commit is contained in:
Max Wofford
2025-12-03 15:03:36 -05:00
committed by GitHub
parent 6fedc362f1
commit 1680c03f63
3 changed files with 9 additions and 9 deletions

View File

@@ -22,9 +22,9 @@
<p class="text-lg mb-4">
Your mailing address is set up and ready to receive mail!
</p>
<%= link_to my_mailing_address_path, class: "text-cyan hover:text-blue underline font-semibold" do %>
View my mailing address
<% end %>
<%# link_to my_mailing_address_path, class: "text-cyan hover:text-blue underline font-semibold" do %>
<!-- View my mailing address-->
<%# end %>
</section>
<% else %>
<section class="bg-orange bg-opacity-10 border border-orange rounded-lg p-6 mb-8">

View File

@@ -70,9 +70,9 @@
<% end %>
</div>
<div>
<%= link_to my_mailroom_path, class: "block px-2 py-1 rounded-lg transition #{current_page?(my_mailroom_path) ? 'bg-primary/50 text-primary' : 'hover:bg-[#23272a]'}", data: { action: "click->nav#clickLink" } do %>
Mailroom
<% end %>
<%# link_to my_mailroom_path, class: "block px-2 py-1 rounded-lg transition #{current_page?(my_mailroom_path) ? 'bg-primary/50 text-primary' : 'hover:bg-[#23272a]'}", data: { action: "click->nav#clickLink" } do %>
<!-- Mailroom-->
<%# end %>
</div>
<div>
<%= link_to my_settings_path, class: "block px-2 py-1 rounded-lg transition #{current_page?(my_settings_path) ? 'bg-primary/50 text-primary' : 'hover:bg-[#23272a]'}", data: { action: "click->nav#clickLink" } do %>

View File

@@ -22,7 +22,7 @@ Rails.application.routes.draw do
mount AhoyCaptain::Engine => "/ahoy_captain"
mount Flipper::UI.app(Flipper) => "flipper", as: :flipper
get "/my/mailing_address", to: "my/mailing_address#show", as: :my_mailing_address
# get "/my/mailing_address", to: "my/mailing_address#show", as: :my_mailing_address
end
constraints AdminLevelConstraint.new(:superadmin, :admin, :viewer) do
@@ -114,8 +114,8 @@ Rails.application.routes.draw do
namespace :my do
resources :project_repo_mappings, param: :project_name, only: [ :edit, :update ], constraints: { project_name: /.+/ }
resource :mailing_address, only: [ :show, :edit ]
get "mailroom", to: "mailroom#index"
# resource :mailing_address, only: [ :show, :edit ]
# get "mailroom", to: "mailroom#index"
resources :heartbeats, only: [] do
collection do
get :export