Skip to content
Snippets Groups Projects
Commit 344f3a5d authored by Mauricio Giacomini Girardello's avatar Mauricio Giacomini Girardello
Browse files

redirect destroy collection action to me_users_path

parent 8dbf28f5
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ class CollectionsController < ApplicationController
collection_repository.destroy @collection
respond_to do |format|
format.html { redirect_to collections_url, notice: 'Coleção excluida com sucesso.' }
format.html { redirect_to me_users_path, notice: 'Coleção excluida com sucesso.' }
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