Reputation: 3030
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.
Upvotes: 1
Views: 390
Reputation: 2656
It does not depend on strong_parameters. Remove :registerable
from your admin model.
Upvotes: 1