Skip to content
Snippets Groups Projects
Commit 7d18ff90 authored by Matheus Agio Nerone's avatar Matheus Agio Nerone
Browse files

fixing redirect on learning object delete


Signed-off-by: default avatarman13 <man13@inf.ufpr.br>
parent 3b1eda88
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ class LearningObjectsController < ApplicationController
LearningObject.destroy @learning_object
respond_to do |format|
format.html { redirect_to learning_objects_url, notice: t('activerecord.attributes.learning_object.destroy.notice.successfully_destroy') }
format.html { redirect_to user_path(current_user), notice: t('activerecord.attributes.learning_object.destroy.notice.successfully_destroy') }
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment