aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/discussions
diff options
context:
space:
mode:
authorKir2011-11-03 19:07:54 +0400
committerKir2011-11-03 19:07:54 +0400
commita9c97ba576f190c18544919af477753c419036cf (patch)
tree48c8a13e862fa249fad50420b077d6f9b1155d4f /app/views/discussions
parente855fb8574570934cde28cfb190cc3cba31fbec0 (diff)
downloadinboxes-a9c97ba576f190c18544919af477753c419036cf.tar.bz2
REST speakers controller, cganges in locale files
Diffstat (limited to 'app/views/discussions')
-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