Refactor code to use LearningObject Model
Before these changes, the view was using the hash returned by OrientDB directly.
Showing
- app/controllers/learning_objects_controller.rb 4 additions, 4 deletionsapp/controllers/learning_objects_controller.rb
- app/models/learning_object.rb 12 additions, 3 deletionsapp/models/learning_object.rb
- app/repositories/orient_db/learning_object_repository.rb 11 additions, 1 deletionapp/repositories/orient_db/learning_object_repository.rb
- app/views/learning_objects/show.html.erb 8 additions, 7 deletionsapp/views/learning_objects/show.html.erb
Please register or sign in to comment