Commit ab056240fa5a8e67a58e22ccdb7d7fda206e5f59
1 parent
a2ecebd8
Exists in
master
and in
11 other branches
Remove feed from discussion
Showing
2 changed files
with
0 additions
and
4 deletions
Show diff stats
lib/proposals_discussion_plugin/discussion.rb
1 | 1 | class ProposalsDiscussionPlugin::Discussion < ProposalsDiscussionPlugin::ProposalsHolder |
2 | 2 | |
3 | - acts_as_having_posts | |
4 | - | |
5 | 3 | has_many :topics, :class_name => 'ProposalsDiscussionPlugin::Topic', :foreign_key => 'parent_id' |
6 | 4 | has_many :topics_proposals, :class_name => 'ProposalsDiscussionPlugin::Proposal', :through => :children, :source => :children |
7 | 5 | has_many :topics_proposals_comments, :class_name => 'Comment', :through => :topics_proposals, :source => :comments | ... | ... |
views/content_viewer/discussion.html.erb
1 | 1 | <% extend ProposalsDiscussionPlugin::DiscussionHelper %> |
2 | 2 | <%= javascript_include_tag 'plugins/proposals_discussion/proposals_list.js' %> |
3 | 3 | |
4 | -<%= add_rss_feed_to_head(discussion.name, discussion.feed.url) if discussion.feed %> | |
5 | - | |
6 | 4 | <div class="description"> |
7 | 5 | <%= discussion.body %> |
8 | 6 | </div> | ... | ... |