Class: Propshaft::Asset
- Inherits:
-
Object
- Object
- Propshaft::Asset
- Defined in:
- lib/tinymce/rails/propshaft/asset.rb
Instance Method Summary collapse
-
#fresh?(digest) ⇒ Boolean
Allow TinyMCE assets to be accessed (in development mode) without a digest.
- #fresh_without_tinymce_exception? ⇒ Object
Instance Method Details
#fresh?(digest) ⇒ Boolean
Allow TinyMCE assets to be accessed (in development mode) without a digest
7 8 9 10 |
# File 'lib/tinymce/rails/propshaft/asset.rb', line 7 def fresh?(digest) fresh_without_tinymce_exception?(digest) || (digest.blank? && logical_path.to_s.starts_with?("tinymce/")) end |
#fresh_without_tinymce_exception? ⇒ Object
4 |
# File 'lib/tinymce/rails/propshaft/asset.rb', line 4 alias fresh_without_tinymce_exception? fresh? |