Could someone help me understand the different use cases for these
methods:

find_user
require_current_user
login_required

For example, all three of those are used inside the photos_controller
as before filters and I don't understand why. I want to make sure I
have consistent behavior between the built-in CE areas and my own
app's areas, so I need to understand the purpose of these to be able
to use them correctly.

And also, in some views like _header.html.haml, I see two similar-
looking conditions like:

if logged_in?
if current_user

I can read the code for these, but it would be super-helpful if
someone could give me the high-level idea.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to