Forums » Development »
Plugin
Added by Carlos Diego Bustamante Barboza almost 14 years ago
hello every buddy:
i try to create a new plugin. but it is to hard for me created I modificate the core code in the redmine source, but when i try to create i don't understand the plugin how to. i only modificate the issue.rb the part of one array where it says SAFE ATRIBUTES and the class issue_relation_helper i create a new method in there and in the model issue_relation i modificate the array of types can any buddy help me how create this modifications please
thanks
Replies (2)
RE: Plugin - Added by Carlos Diego Bustamante Barboza almost 14 years ago
ok, i ilready modify my code. i can see the redmien but i can not see my change hahaha, my change modify a constant in the model issue, i modify safe_attributes but don't work i do these
requiere_dependency 'issue'
module IssuePatch
SAFE_ATRIBUTES = %w ( tracker_id ....... lock_version rationale ) unless const_defined (:SAFE_ATRIBUTES)
END
iSSUE.SEND (:include,IssuePatch)
RE: Plugin - Added by Carlos Diego Bustamante Barboza almost 14 years ago
thanks for all
right now is working, only you hve to make
Issue::SAFE_ATRIBUTES = %w ( tracker_id ....... lock_version rationale ) unless const_defined (:SAFE_ATRIBUTES)
and modificate the schema