Skip to content

Commit

Permalink
Explicitly use the class name that is being deprecated
Browse files Browse the repository at this point in the history
The message is otherwise hard to understand.
  • Loading branch information
elia committed Jan 16, 2023
1 parent 2223700 commit 609ed5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/app/models/spree/user_last_url_storer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def self.rules
# or its subclasses. The controller will be passed to each rule for matching.
def initialize(controller)
@controller = controller
Spree::Deprecation.warn("This class will be removed without replacement on the release of Solidus 4.0")
Spree::Deprecation.warn("Spree::UserLastUrlStorer will be removed without replacement on the release of Solidus 4.0")
end

# Stores into session[:spree_user_return_to] the request full path for
Expand Down

0 comments on commit 609ed5f

Please sign in to comment.