Sounds like a good solution. Although; note that there's already something
similar built in:

https://github.com/bborn/communityengine/blob/master/app/controllers/topics_controller.rb#L31

Topic views are stored in the session, and recently viewed topics are
highlighted using the recent_forum_activity helper:

https://github.com/bborn/communityengine/blob/rails3/app/views/forums/index.html.haml#L30

Hope that helps.

Bruno

On Tue, Dec 4, 2012 at 5:35 PM, Kevin Lawrence <[email protected]>wrote:

> Closing the loop: I created a new model TopicViews to keep track of this
> and added a filter to the TopicController to update it..
>
> --
> You received this message because you are subscribed to the Google Groups
> "CommunityEngine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/communityengine/-/kk71xcBD8hsJ.
>
> 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.
>

-- 
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