With https://github.com/solidusio/solidus/pull/2695 we're starting to include the order history page (/users/show) in Solidus frontend. At the moment that code is not used, since the one included in solidus_auth_devise takes precedence.
This PR starts the removal of the controller code so that, when available, the version included in Solidus at frontend/app/controllers/spree/users_controller.rb is used instead.
Once all supported versions of Solidus include that page, we will be able to get rid of the else branch with the class definition, together with the ERB view at lib/views/frontend/spree/users/show.html.erb.
Ref #123
With https://github.com/solidusio/solidus/pull/2695 we're starting to include the order history page (
/users/show
) in Solidus frontend. At the moment that code is not used, since the one included insolidus_auth_devise
takes precedence.This PR starts the removal of the controller code so that, when available, the version included in Solidus at
frontend/app/controllers/spree/users_controller.rb
is used instead.Once all supported versions of Solidus include that page, we will be able to get rid of the
else
branch with the class definition, together with the ERB view atlib/views/frontend/spree/users/show.html.erb
.