We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I applied this patch locally and it seems to work fine, is there a reason to depend on frontend?
diff --git a/app/controllers/spree/digitals_controller.rb b/app/controllers/spree/digitals_controller.rb index f3ba81d..ede2d58 100644 --- a/app/controllers/spree/digitals_controller.rb +++ b/app/controllers/spree/digitals_controller.rb @@ -1,5 +1,5 @@ module Spree - class DigitalsController < Spree::StoreController + class DigitalsController < Spree::BaseController def show if attachment.present? if digital_link.authorize! diff --git a/lib/spree_digital.rb b/lib/spree_digital.rb index 4fe7641..7c850c2 100644 --- a/lib/spree_digital.rb +++ b/lib/spree_digital.rb @@ -1,7 +1,6 @@ require 'spree_api' require 'spree_backend' require 'spree_core' -require 'spree_frontend' require 'spree_digital/engine' require 'sass/rails' require 'spree_extension' diff --git a/spree_digital.gemspec b/spree_digital.gemspec index d0db59f..51c2161 100644 --- a/spree_digital.gemspec +++ b/spree_digital.gemspec @@ -17,7 +17,6 @@ Gem::Specification.new do |s| s.add_dependency 'spree_api', spree_version s.add_dependency 'spree_backend', spree_version s.add_dependency 'spree_core', spree_version - s.add_dependency 'spree_frontend', spree_version s.add_runtime_dependency 'spree_extension' s.add_dependency 'deface', '~> 1.0'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I applied this patch locally and it seems to work fine, is there a reason to depend on frontend?
The text was updated successfully, but these errors were encountered: