@@ -39,15 +39,14 @@ class LearningObjectsController < ApplicationController
respond_todo|format|
ifpublisher.create_draft@draft
# go to file submission page
format.html{redirect_toupload_learning_object_path(id: @draft.id),notice: 'Learning object was successfully created.'}
format.html{redirect_toupload_learning_object_path(id: @draft.id),notice: 'Seu objeto foi criado! Para que ele seja publicado é necessário enviar o arquivo.'}
else
format.html{redirect_tonew_learning_object_path,notice: 'Was not possible to create a learning object.'}
format.html{redirect_tonew_learning_object_path,notice: 'Não foi possível criar o objeto.'}