Rails for Beginners Part 18: Accessing the Current User Discussion
Discussion for
Rails for Beginners Part 18: Accessing the Current User
Hi chris, thanks for the tutorial so far.
I got this error when implementing this module:
ActionView::Template::Error (undefined method `user' for #):
<%= Current.user.email %>
<% if Current.user %>