Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdonarski committed Oct 19, 2023
1 parent bd9be31 commit b069541
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 65 deletions.
4 changes: 0 additions & 4 deletions app/helpers/spree/admin/navigation_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -329,10 +329,6 @@ def user_actions
def products_actions
Rails.application.config.spree_backend.actions[:products]
end

def product_actions
Rails.application.config.spree_backend.actions[:product]
end
# rubocop:enable Metrics/ModuleLength
end
end
Expand Down
40 changes: 0 additions & 40 deletions app/models/spree/admin/actions/product_default_actions_builder.rb

This file was deleted.

1 change: 0 additions & 1 deletion lib/spree/backend/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ class Engine < ::Rails::Engine
Rails.application.config.spree_backend.actions[:users] = Spree::Admin::Actions::UsersDefaultActionsBuilder.new.build
Rails.application.config.spree_backend.actions[:user] = Spree::Admin::Actions::UserDefaultActionsBuilder.new.build
Rails.application.config.spree_backend.actions[:products] = Spree::Admin::Actions::ProductsDefaultActionsBuilder.new.build
Rails.application.config.spree_backend.actions[:product] = Spree::Admin::Actions::ProductDefaultActionsBuilder.new.build
end
end
end
Expand Down

This file was deleted.

0 comments on commit b069541

Please sign in to comment.