Commit 003fb59b678dc80e1632be1c325da2ba93d94b4c
1 parent
09ea859a
Exists in
staging
and in
4 other branches
proposals_discussion: redirect to topic when publish a proposal
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/proposals_discussion/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 | ... | ... |