I am trying to create a simple page where any visitor can read the weekly posts. I want there to only be 1 admin that can edit or create new posts.
How would I go about creating this?
I started with devise but theoretically anyone can go to the new_user_registration path and create a new user that would have access to the edit & new actions. How would I be able to restrict any new accounts from being created after the one I create? Or ideally limit the actions that any user that is not an admin can use?
I looked into Pundit for authorization but it seems like it is too much for such a simple task, is there a more simple way to do this with Rails?