Added watchers for message boards (watchers controller modified to support any watchable model).

No notification yet when a new message is posted.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@530 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2007-05-13 19:43:35 +00:00
1 parent b90e84b9fe
commit bca5bd9c62
7 files changed
+42 -14

No files matched your search

+1
View File
@@ -1,5 +1,6 @@
<div class="contextual">
<%= link_to l(:label_message_new), {:controller => 'messages', :action => 'new', :board_id => @board}, :class => "icon icon-add" %>
<%= watcher_tag(@board, @logged_in_user) %>
</div>
<h2><%=h @board.name %></h2>