Class: JavascriptCache
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- JavascriptCache
- Defined in:
- app/models/javascript_cache.rb
Instance Method Summary collapse
Instance Method Details
#local_url ⇒ Object
14 15 16 |
# File 'app/models/javascript_cache.rb', line 14 def local_url "#{Discourse.base_path}#{path}" end |
#url ⇒ Object
10 11 12 |
# File 'app/models/javascript_cache.rb', line 10 def url "#{GlobalSetting.cdn_url}#{Discourse.base_path}#{path}" end |