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 | 17 | else |
| 18 | 18 | session[:notice] = _('Failed to publish your proposal.') |
| 19 | 19 | end |
| 20 | - redirect_to @proposal.view_url | |
| 20 | + redirect_to @proposal.topic.view_url | |
| 21 | 21 | end |
| 22 | 22 | |
| 23 | 23 | protected | ... | ... |