From 91c6949f08b48b5f0fb94ec156d9a3a78929c6ce Mon Sep 17 00:00:00 2001
From: Mateus Rambo Strey <mars11@inf.ufpr.br>
Date: Thu, 24 Mar 2016 10:53:10 -0300
Subject: [PATCH] fix typo

---
 app/views/learning_objects/show.html.erb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/views/learning_objects/show.html.erb b/app/views/learning_objects/show.html.erb
index 3a18cd66..5862c820 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.owner != 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 -%>
 
-- 
GitLab