Class: LatoView::AssetsController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/lato_view/assets_controller.rb

Overview

This class is used to render elements used as assets for cells.

Instance Method Summary collapse

Instance Method Details

#trumbowyg_iconsObject

This function render the trumbowyg assets.



9
10
11
# File 'app/controllers/lato_view/assets_controller.rb', line 9

def trumbowyg_icons
  send_file "#{LatoView::Engine.root}/app/assets/images/lato_view/vendor/trumbowyg_icons.svg", type: 'image/svg+xml'
end