Skip to content
New issue

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

Restore some Api::UsersController methods #373

Merged

Conversation

jordan-brough
Copy link
Contributor

These were removed in #319
and replaced by generically-named equivalents, but subclassing
controllers in apps like ours can be reasonably expecting these methods
to be there.

I do think we should restore these but I'm not sure whether we should
mark them as officially supported or deprecate them. Any thoughts?

These were removed in solidusio#319
and replaced by generically-named equivalents, but controllers in apps
like ours can be reasonably expecting these to be there.

def model_class
Spree.user_class
end

def user_params
permitted_resource_params
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is that a tab?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup. oops. fixed.

jhawthorn added a commit that referenced this pull request Sep 17, 2015
…er-methods

Restore some Api::UsersController methods
@jhawthorn jhawthorn merged commit 55c7b41 into solidusio:master Sep 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants