Commit cf972b571b6151f5eb217955b68a252e0129d7aa
1 parent
713bf1e3
Exists in
master
and in
11 other branches
proposals_discussion: redirect to topic when publish a proposal
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
controllers/myprofile/proposals_discussion_plugin_myprofile_controller.rb
@@ -17,7 +17,7 @@ class ProposalsDiscussionPluginMyprofileController < MyProfileController | @@ -17,7 +17,7 @@ class ProposalsDiscussionPluginMyprofileController < MyProfileController | ||
17 | else | 17 | else |
18 | session[:notice] = _('Failed to publish your proposal.') | 18 | session[:notice] = _('Failed to publish your proposal.') |
19 | end | 19 | end |
20 | - redirect_to @proposal.view_url | 20 | + redirect_to @proposal.topic.view_url |
21 | end | 21 | end |
22 | 22 | ||
23 | protected | 23 | protected |