From cf972b571b6151f5eb217955b68a252e0129d7aa Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Tue, 12 Aug 2014 13:09:00 -0300 Subject: [PATCH] proposals_discussion: redirect to topic when publish a proposal --- controllers/myprofile/proposals_discussion_plugin_myprofile_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/myprofile/proposals_discussion_plugin_myprofile_controller.rb b/controllers/myprofile/proposals_discussion_plugin_myprofile_controller.rb index faa1951..9aaf14a 100644 --- a/controllers/myprofile/proposals_discussion_plugin_myprofile_controller.rb +++ b/controllers/myprofile/proposals_discussion_plugin_myprofile_controller.rb @@ -17,7 +17,7 @@ class ProposalsDiscussionPluginMyprofileController < MyProfileController else session[:notice] = _('Failed to publish your proposal.') end - redirect_to @proposal.view_url + redirect_to @proposal.topic.view_url end protected -- libgit2 0.21.2