Sha256: e33af8876f6bae655dcffa267e4317bad537ca6483ebac53c2ea3a9ef60da68b

Contents?: true

Size: 270 Bytes

Versions: 10

Compression:

Stored size: 270 Bytes

Contents

module Ckeditor
  class AssetDecorator < Georgia::ApplicationDecorator

    def list_all_tags
      h.raw model.tags.map{ |t| h.link_to t.name, h.tag_path(t) }.join(', ')
    end

    def filename_truncated
      h.truncate(data_file_name, length: 30)
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
georgia-0.8.0 app/decorators/ckeditor/asset_decorator.rb
georgia-0.7.8 app/decorators/ckeditor/asset_decorator.rb
georgia-0.7.7 app/decorators/ckeditor/asset_decorator.rb
georgia-0.7.6 app/decorators/ckeditor/asset_decorator.rb
georgia-0.7.5 app/decorators/ckeditor/asset_decorator.rb
georgia-0.7.4 app/decorators/ckeditor/asset_decorator.rb
georgia-0.7.3 app/decorators/ckeditor/asset_decorator.rb
georgia-0.7.2 app/decorators/ckeditor/asset_decorator.rb
georgia-0.7.1 app/decorators/ckeditor/asset_decorator.rb
georgia-0.7.0 app/decorators/ckeditor/asset_decorator.rb