Skip to content

Commit

Permalink
Remove Rails Admin
Browse files Browse the repository at this point in the history
It looks like this is causing a loop on boot. We never really use this,
so I am attempting to remove it to see if that resolves the issue.
  • Loading branch information
cpytel committed Nov 26, 2024
1 parent b35a209 commit de2b1fa
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 270 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ gem "psych"
gem "puma"
gem "rack-rewrite"
gem "rails", "7.0.8.4"
gem "rails_admin"
gem "recipient_interceptor"
gem "redcarpet"
gem "redis"
Expand Down
16 changes: 0 additions & 16 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ GEM
globalid (>= 0.3.6)
activemodel (7.0.8.4)
activesupport (= 7.0.8.4)
activemodel-serializers-xml (1.0.3)
activemodel (>= 5.0.0.a)
activesupport (>= 5.0.0.a)
builder (~> 3.1)
activerecord (7.0.8.4)
activemodel (= 7.0.8.4)
activesupport (= 7.0.8.4)
Expand Down Expand Up @@ -314,7 +310,6 @@ GEM
bourbon (>= 4.0)
sass (>= 3.3)
nenv (0.3.0)
nested_form (0.3.2)
net-http (0.4.1)
uri
net-imap (0.4.16)
Expand Down Expand Up @@ -422,13 +417,6 @@ GEM
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
rails_admin (3.2.0)
activemodel-serializers-xml (>= 1.0)
csv
kaminari (>= 0.14, < 2.0)
nested_form (~> 0.3)
rails (>= 6.0, < 8)
turbo-rails (>= 1.0, < 3)
rails_stdout_logging (0.0.5)
railties (7.0.8.4)
actionpack (= 7.0.8.4)
Expand Down Expand Up @@ -576,9 +564,6 @@ GEM
tilt (2.3.0)
timecop (0.9.10)
timeout (0.4.1)
turbo-rails (2.0.10)
actionpack (>= 6.0.0)
railties (>= 6.0.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
uglifier (4.2.1)
Expand Down Expand Up @@ -672,7 +657,6 @@ DEPENDENCIES
rails (= 7.0.8.4)
rails-assets-lodash!
rails-controller-testing
rails_admin
rails_stdout_logging
recipient_interceptor
redcarpet
Expand Down
244 changes: 0 additions & 244 deletions config/initializers/rails_admin.rb

This file was deleted.

9 changes: 0 additions & 9 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@

get "the-weekly-iteration", to: "shows#show", id: "the-weekly-iteration"

scope module: "admin" do
resources :users, only: [] do
resource :masquerade, only: :create
end
resource :masquerade, only: :destroy
end

constraints Clearance::Constraints::SignedIn.new(&:admin?) do
namespace :admin do
resources :decks, only: [:new, :create, :show, :index] do
Expand All @@ -25,8 +18,6 @@
end
end

mount RailsAdmin::Engine => "/admin", :as => :rails_admin

namespace :api do
namespace :v1 do
post(
Expand Down

0 comments on commit de2b1fa

Please sign in to comment.