diff options
| author | Kir | 2011-11-03 19:07:54 +0400 |
|---|---|---|
| committer | Kir | 2011-11-03 19:07:54 +0400 |
| commit | a9c97ba576f190c18544919af477753c419036cf (patch) | |
| tree | 48c8a13e862fa249fad50420b077d6f9b1155d4f /app/views/discussions | |
| parent | e855fb8574570934cde28cfb190cc3cba31fbec0 (diff) | |
| download | inboxes-a9c97ba576f190c18544919af477753c419036cf.tar.bz2 | |
REST speakers controller, cganges in locale files
Diffstat (limited to 'app/views/discussions')
| -rw-r--r-- | app/views/discussions/show.html.haml | 2 |
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 |
