diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-11-19 10:03:27 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-11-19 10:03:27 +0000 |
commit | 17233e868110d153cfcf5e8947fad6715ccfada2 (patch) | |
tree | 091109259bfb1170adb41f0d4572ac9a95ee634f /app/controllers/issue_relations_controller.rb | |
parent | aff93d77748992216234945f55dc19a2828c23e1 (diff) | |
download | redmine-17233e868110d153cfcf5e8947fad6715ccfada2.tar.gz redmine-17233e868110d153cfcf5e8947fad6715ccfada2.zip |
Extracts the rendering of related issues to an helper (#3425).
git-svn-id: http://svn.redmine.org/redmine/trunk@15981 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/issue_relations_controller.rb')
-rw-r--r-- | app/controllers/issue_relations_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/issue_relations_controller.rb b/app/controllers/issue_relations_controller.rb index 9c8c2fe1d..7d37a3e20 100644 --- a/app/controllers/issue_relations_controller.rb +++ b/app/controllers/issue_relations_controller.rb @@ -16,6 +16,8 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. class IssueRelationsController < ApplicationController + helper :issues + before_action :find_issue, :authorize, :only => [:index, :create] before_action :find_relation, :only => [:show, :destroy] |