Why does the sessions controller have a new and create method?
In the create method of the sessions_controller we set the session id and then redirect to the admin page but then we create the view in the new.html.erb view.
Then it goes on to explain how the new.html.erb view communicates with the create controller method? But I’m really quite confused by how this works. Can someone offer up a better explanation?