Skip to content

Commit 3ed8ebd

Browse files
committed
added relative root to translate path for summary fetch
1 parent 89ae77f commit 3ed8ebd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/assets/javascripts/recurring_select_dialog.js.coffee.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ window.RecurringSelectDialog =
163163
return if !(@current_rule.hash? && (rule_type = @current_rule.hash.rule_type)?)
164164
@content.css {"width": @content.width()+"px"}
165165
$.ajax
166-
url: "/recurring_select/translate",
166+
url: "<%= Rails.application.config.action_controller.relative_url_root %>/recurring_select/translate",
167167
type: "POST",
168168
data: @current_rule.hash
169169
success: @summaryFetchSuccess

0 commit comments

Comments
 (0)