Protector is about controlling models.
How can I deal with controllers #new
& #edit
actions?
They do not interact with database, but render views that shouldn't be rendered. I should get an error this way.
Protector is about controlling models.
How can I deal with controllers #new
& #edit
actions?
They do not interact with database, but render views that shouldn't be rendered. I should get an error this way.