Refactor: Replace @journal with @issue.current_journal
This removes an instance variable in #issue_update which will let it be moved to the Issue model. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3540 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
7514e12d33
commit
c58dc83e74
2 files changed
+10
-5
No files matched your search
@@ -47,6 +47,8 @@ class Issue < ActiveRecord::Base
|
||||
:author_key => :author_id
|
||||
|
||||
DONE_RATIO_OPTIONS = %w(issue_field issue_status)
|
||||
|
||||
attr_reader :current_journal
|
||||
|
||||
validates_presence_of :subject, :priority, :project, :tracker, :author, :status
|
||||
validates_length_of :subject, :maximum => 255
|
||||
|
||||
Reference in new issue
Block a user