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 5, 2023
1 parent 4451065 commit 68acd75
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 68acd75

Please sign in to comment.