You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.
current method in Tracker decorator have conflict with the method in Spree core
ArgumentError - wrong number of arguments (0 for 1):
/spree-multi-domain/app/models/spree/tracker_decorator.rb:4:in current' app/views/spree/shared/_google_analytics.html.erb:1:in_a7721bcc461d6fdcbf5840cd55249711'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
The text was updated successfully, but these errors were encountered:
Correct. At least tracker_decorator should implement the current method like that:
defself.current(domain=nil)domain ||= Spree::Store.current.urlSpree::Tracker.where(:active=>true,:environment=>Rails.env).joins(:store).where("spree_stores.url LIKE ?","%#{domain}%").firstend
current method in Tracker decorator have conflict with the method in Spree core
ArgumentError - wrong number of arguments (0 for 1):
/spree-multi-domain/app/models/spree/tracker_decorator.rb:4:in
current' app/views/spree/shared/_google_analytics.html.erb:1:in
_a7721bcc461d6fdcbf5840cd55249711'actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
The text was updated successfully, but these errors were encountered: