Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Remove Deface
Browse files Browse the repository at this point in the history
Solidus no longer uses Deface, and the implicit dependency on it in this
plugin broke our Solidus app. We decided to remove the use of Deface
rather than make it a dependency, following Solidus' lead.
  • Loading branch information
Jon Mason committed Jul 12, 2018
1 parent c4f3001 commit 259702a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
6 changes: 0 additions & 6 deletions app/overrides/admin_navigation_menu.rb

This file was deleted.

11 changes: 11 additions & 0 deletions lib/solidus_paypal_braintree/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,17 @@ def self.activate
end

paths["app/views"] << "lib/views/backend"

initializer "solidus_paypal_braintree_admin_menu_item", after: "register_solidus_paypal_braintree_gateway" do |app|
Spree::Backend::Config.configure do |config|
config.menu_items << config.class::MenuItem.new(
[:braintree],
'cc-paypal',
url: '/solidus_paypal_braintree/configurations/list',
condition: -> { can?(:admin, Spree::PaymentMethod) }
)
end
end
end
end
end

This file was deleted.

0 comments on commit 259702a

Please sign in to comment.