now , i can right to run insoshi, but i hava a code problem in this
file
views/shared/_minifeed_item.html.erb codes sa follows:
<%- unless minifeed_item.item.nil? -%>
<li>
<div class="profile-image">
<%= image_link minifeed_item.user %>
</div>
<p><%= minifeed_message minifeed_item %></p>
<p class="meta published">
<%= time_ago_in_words minifeed_item.created_at %> ago
</p>
</li>
<%- end -%>
call this file in
views/shared/_minifeed.html.erb codes as follows:
<div class="minifeed">
<h2>Minifeed</h2>
<ul class="list activity small">
<%- if logged_in? -%>
<%= render :partial => 'shared/minifeed_item',
:collection => current_user.feed %>
<%- else -%>
<%= render :partial => 'shared/minifeed_item',
:collection => Activity.global_feed %>
<%- end -%>
</ul>
</div>
i dot know why name is minifeed_item , it is what? comes from where?
or based on what?
--~--~---------~--~----~------------~-------~--~----~
Insoshi developer site: http://dogfood.insoshi.com/
Insoshi documentation: http://docs.insoshi.com/
You received this message because you are subscribed to the Google
Groups "Insoshi" 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/insoshi?hl=en
-~----------~----~----~----~------~----~------~--~---