aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/discussions/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/discussions/show.html.haml b/app/views/discussions/show.html.haml
index 6672c54..e25d0a2 100644
--- a/app/views/discussions/show.html.haml
+++ b/app/views/discussions/show.html.haml
@@ -35,5 +35,5 @@
= render "messages/form"
%p
- = link_to "Выйти из переписки", leave_discussion_path(@discussion), :method => :post unless @discussion.private?
+ = link_to "Leave discussion", discussion_speaker_path(@discussion, @discussion.find_speaker_by_user(current_user)), :method => :delete unless @discussion.private?
= link_to "All discussions", discussions_path \ No newline at end of file