File tree 2 files changed +5
-5
lines changed 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,10 @@ def subject_without_punctuation
95
95
subject . end_with? ( "." ) ? subject [ 0 ..-1 ] : subject
96
96
end
97
97
98
+ def zulip_settings
99
+ @_zulip_settings ||= RedmineZulip ::Settings . new ( self )
100
+ end
101
+
98
102
private
99
103
100
104
def zulip_api
@@ -105,10 +109,6 @@ def zulip_api
105
109
)
106
110
end
107
111
108
- def zulip_settings
109
- @_zulip_settings ||= RedmineZulip ::Settings . new ( self )
110
- end
111
-
112
112
def notify_assignment
113
113
locale = assigned_to . language
114
114
message = I18n . t ( "zulip_notify_assignment" , {
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ def version_updates_subject
51
51
private
52
52
53
53
def evaluate_expression ( expression )
54
- return nil if pattern . nil?
54
+ return nil if expression . nil?
55
55
expression . gsub ( "${issue_id}" , "#{ @issue . id } " )
56
56
. gsub ( "${issue_subject}" , @issue . subject_without_punctuation )
57
57
. gsub ( "${project_name}" , @issue . project . name )
You can’t perform that action at this time.
0 commit comments