From 919de630ecca6c3dfb85f3b72a3987a7836813ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Thu, 26 Mar 2015 14:43:13 +0100 Subject: [PATCH] Cannot create a document workflow #368 --- app/models/dmsf_workflow_step.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/models/dmsf_workflow_step.rb b/app/models/dmsf_workflow_step.rb index 8b5908aa..0374ac5b 100644 --- a/app/models/dmsf_workflow_step.rb +++ b/app/models/dmsf_workflow_step.rb @@ -1,6 +1,8 @@ +# encoding: utf-8 +# # Redmine plugin for Document Management System "Features" # -# Copyright (C) 2011-14 Karel Picman +# Copyright (C) 2011-15 Karel Pičman # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -25,6 +27,8 @@ class DmsfWorkflowStep < ActiveRecord::Base validates :operator, :presence => true validates_uniqueness_of :user_id, :scope => [:dmsf_workflow_id, :step] + attr_accessible :dmsf_workflow_id, :step, :user_id, :operator + OPERATOR_OR = 0 OPERATOR_AND = 1