From 60acbffc24b65a6a14f4d6bc7afb8bcc3861d718 Mon Sep 17 00:00:00 2001
From: Bruno Nocera Zanette <bnzanette@inf.ufpr.br>
Date: Mon, 14 Sep 2015 12:04:48 -0300
Subject: [PATCH] Fix typo: Missing "_" on method's name

---
 app/controllers/learning_objects_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/controllers/learning_objects_controller.rb b/app/controllers/learning_objects_controller.rb
index 42c5b2aa..466884d9 100644
--- a/app/controllers/learning_objects_controller.rb
+++ b/app/controllers/learning_objects_controller.rb
@@ -73,7 +73,7 @@ class LearningObjectsController < ApplicationController
 
   # Use callbacks to share common setup or constraints between actions.
   def set_learning_object
-    @learning_object = learning_object_repository.get_by_dspaceid params[:id]
+    @learning_object = learning_object_repository.get_by_dspace_id params[:id]
   end
 
   # Never trust parameters from the scary internet, only allow the white list through.
-- 
GitLab