Class: Ckeditor::AssetDecorator
- Inherits:
-
Georgia::ApplicationDecorator
- Object
- Draper::Decorator
- Georgia::ApplicationDecorator
- Ckeditor::AssetDecorator
- Defined in:
- app/decorators/ckeditor/asset_decorator.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Georgia::ApplicationDecorator
#pretty_created_at, #pretty_updated_at
Instance Method Details
#filename_truncated ⇒ Object
8 9 10 |
# File 'app/decorators/ckeditor/asset_decorator.rb', line 8 def filename_truncated h.truncate(data_file_name, length: 30) end |
#list_all_tags ⇒ Object
4 5 6 |
# File 'app/decorators/ckeditor/asset_decorator.rb', line 4 def h.raw model..map{ |t| h.link_to t.name, h.tag_path(t) }.join(', ') end |