diff --git a/app/views/learning_objects/show.html.erb b/app/views/learning_objects/show.html.erb index 5862c8207ac2dac8c3892ce77f0388012c690453..762da52a630f9e8320b1def2129406365dfc7a55 100644 --- a/app/views/learning_objects/show.html.erb +++ b/app/views/learning_objects/show.html.erb @@ -163,7 +163,7 @@ </div> </div> -<% if @learning_object.owner != current_user %> +<% if @learning_object.publisher != current_user %> <%= link_to 'Avalie este objeto!', new_review_path(reviewable_id: @learning_object.id, reviewable_type: @learning_object.class.name), class: 'btn btn-success' %> <% end -%>