app/views/federails/client/common/_client_links.html.erb in federails-0.3.0 vs app/views/federails/client/common/_client_links.html.erb in federails-0.4.0

- old
+ new

@@ -9,16 +9,16 @@ <% if Federails::Client::ActivityPolicy.new(user, nil).feed? %> <li><%= link_to 'Feed', federails.client_feed_url %></li> <%end %> <%# Available when user has an associated actor. The actor must exist to create the link %> - <% if Federails.actor_entity?(user) && user.actor.present? %> - <li><%= link_to "You (#{user.actor.username})", federails.client_actor_path(user.actor) %></li> + <% if Federails.actor_entity?(user) && user.federails_actor.present? %> + <li><%= link_to "You (#{user.federails_actor.username})", federails.client_actor_path(user.federails_actor) %></li> <% end %> </ul> <%# Debug information%> <% if !Federails::actor_entity?(user) %> <p><%= user.class.name %> is not configured to have an associated actor; you won't be allowed to follow or be followed</p> -<% elsif !user.actor.present? %> +<% elsif !user.federails_actor.present? %> <p>Your account does not have an associated actor; you won't be allowed to follow or be followed</p> <% end %>