Routing Constraints with Rails Authentication Generator
Pro
Devise has a couple handy routing helpers to constrain routes for authenticated users. In this lesson, we'll learn how to do this from scratch by adding routing constraints Rails' built-in authentication generator