diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-03-11 19:33:38 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-03-11 19:33:38 +0000 |
commit | 624723d0cef9bd8a9528745f4b75ee22f6b1ad2e (patch) | |
tree | d622adeab661c9e833c260b5f5bdef076b14c034 /app/models/wiki_content.rb | |
parent | 64fb0a561aebbc7583695deba29697f84c620dfb (diff) | |
download | redmine-624723d0cef9bd8a9528745f4b75ee22f6b1ad2e.tar.gz redmine-624723d0cef9bd8a9528745f4b75ee22f6b1ad2e.zip |
Activity enhancements:
* overall activity view and feed added, link is available on the project list (#423, #494)
* switch added on the project activity view to include subprojects (closes #530)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1227 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/wiki_content.rb')
-rw-r--r-- | app/models/wiki_content.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/wiki_content.rb b/app/models/wiki_content.rb index c307beb1d..13915c274 100644 --- a/app/models/wiki_content.rb +++ b/app/models/wiki_content.rb @@ -61,6 +61,10 @@ class WikiContent < ActiveRecord::Base end end + def project + page.project + end + # Returns the previous version or nil def previous @previous ||= WikiContent::Version.find(:first, |