1
votes

What is the best way to use Strong Parameters with Rails 4 and Devise for an Admin Model and User Model?

I want to allow the user to sign_in & sign_up --- and the admin to sign_in however not sign_up.

Note* I have already read Strong Parameters by devise.

1

1 Answers

1
votes

It does not depend on strong_parameters. Remove :registerable from your admin model.