summaryrefslogtreecommitdiffstats
path: root/app/models/issue.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-02-17 10:17:10 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-02-17 10:17:10 +0000
commite79b232a025876e3fae6975c0ed7f269362715d7 (patch)
tree66d57c5e65168b7cda8df9356a9a1c4f45ddeda5 /app/models/issue.rb
parente478f3044e7584d13d6ac1933fd5b9b8271d7140 (diff)
downloadredmine-e79b232a025876e3fae6975c0ed7f269362715d7.tar.gz
redmine-e79b232a025876e3fae6975c0ed7f269362715d7.zip
replace tabs to spaces at app/models/issue.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11422 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r--app/models/issue.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index e01dcc95a..43c298b77 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -1022,8 +1022,8 @@ class Issue < ActiveRecord::Base
end
end
- # Returns true if issue's project is a valid
- # parent issue project
+ # Returns true if issue's project is a valid
+ # parent issue project
def valid_parent_project?(issue=parent)
return true if issue.nil? || issue.project_id == project_id