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

Commit

Permalink
Merge pull request #178 from snarfmason/remove-deface
Browse files Browse the repository at this point in the history
Remove Deface
  • Loading branch information
gmacdougall authored Jul 13, 2018
2 parents c4f3001 + 36a3dd1 commit 9a06fa9
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?(:list, SolidusPaypalBraintree::Configuration) }
)
end
end
end
end
end

This file was deleted.

0 comments on commit 9a06fa9

Please sign in to comment.