diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-03-12 18:35:59 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-03-12 18:35:59 +0000 |
commit | 83d77619982694ed0eada9eacb04897be5ce18c2 (patch) | |
tree | 58e88fb079245aa001351346a59f27d82f2634a8 /app/controllers | |
parent | 6d20cfe831aef5f7487e10a74dbb15ad623d651a (diff) | |
download | redmine-83d77619982694ed0eada9eacb04897be5ce18c2.tar.gz redmine-83d77619982694ed0eada9eacb04897be5ce18c2.zip |
Always instanciate a relation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11610 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/issues_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index fb1c5765f..e1faa9b6b 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -113,6 +113,8 @@ class IssuesController < ApplicationController @edit_allowed = User.current.allowed_to?(:edit_issues, @project) @priorities = IssuePriority.active @time_entry = TimeEntry.new(:issue => @issue, :project => @issue.project) + @relation = IssueRelation.new + respond_to do |format| format.html { retrieve_previous_and_next_issue_ids |