rename route /javascripts to /theme-javascripts (#6495)

This commit is contained in:
Kyle Zhao
2018-10-15 11:32:52 -04:00
committed by GitHub
parent c104256991
commit 99d1ded3b3
5 changed files with 9 additions and 9 deletions

View File

@ -7,7 +7,7 @@ class JavascriptCache < ActiveRecord::Base
before_save :update_digest
def url
"#{GlobalSetting.cdn_url}#{GlobalSetting.relative_url_root}/javascripts/#{digest}.js"
"#{GlobalSetting.cdn_url}#{GlobalSetting.relative_url_root}/theme-javascripts/#{digest}.js"
end
private