I found out that to visit a page with the user's in-network activity
(as opposed to all activity), you can go to

 network_user_activities_path(@user)

but I get an error visiting said page (which comes out to /<username>/
activities/network):

ActionView::TemplateError (undefined method `page_count' for #<Array:
0x105891ad8>) on line #10 of vendor/plugins/community_engine/app/views/
activities/network.html.haml:
7:       %h3=:activity_from_your_network.l
8:       %table{:width => "100%"}
9:         =render :partial => "activities/activity", :collection =>
@activities
10:       -if @activities.page_count > 1
11:         .pagination= paginating_links
@activities, :link_to_current_page => true
12:     -else
13:       =:you_have_no_network_activity_yet.l

It looks like it expects the array of activities to be a pagination
object. I'm not familiar with the pagination system, any ideas how to
fix it?

--

You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected].
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=.


Reply via email to