aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/discussions/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/discussions/index.html.haml')
-rw-r--r--app/views/discussions/index.html.haml8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/views/discussions/index.html.haml b/app/views/discussions/index.html.haml
index 669c01b..8f47198 100644
--- a/app/views/discussions/index.html.haml
+++ b/app/views/discussions/index.html.haml
@@ -1,5 +1,7 @@
-%h3 Discussions
+%h3 Discussions list
- @discussions.each do |discussion|
- = discussion.id
+ .discussion
+ = link_to "Discussion with #{discussion.users.collect{|u| u[Inboxes::config.user_name]}.join(', ')}", discussion
-= link_to "Create new", new_discussion_path \ No newline at end of file
+%p
+ = link_to "Create new", new_discussion_path \ No newline at end of file