The text talks about adding two keys to assigns, a session_id
key and a current_user
key, but the example code is only showing the session_id
key. The code on the following page adding @current_user.email
to the markup will not work.
The text talks about adding two keys to assigns, a session_id
key and a current_user
key, but the example code is only showing the session_id
key. The code on the following page adding @current_user.email
to the markup will not work.