Creating a users section to site

I was wondering if someone could give me some guidance on the best next steps to take as i am still learning rails. Basically as it stands i have a website that allows a user to register, sign in, sign out and edit their profile. I did that with devise for the authentication.I have an admin area to the website for the website owners not the public. I chose to do it this way as it is an e commerce site and i want the user section more heavily customised. I now want to create pages the following pages. A status page for the user to see their order history A rewards page for coupon redemption A page for the user to see what subcriptions they are currently signed up to I currently only have a user model would it be best to create a controller now? So far everything has been sent off into more specific controllers?

Posted about 5 years ago by Emma
Posted about 5 years ago by Gemma Ward

Either way should work - it's more a question of how you want to organize everything. For example, a rewards page for coupon redemption could be placed in a separate coupons_controller.rb file, or it could be placed in a controller for all of a user's account-related information (order history, rewards, subscriptions).

0