Class: Comfy::Cms::AssetsController
- Inherits:
-
BaseController
- Object
- BaseController
- Comfy::Cms::AssetsController
- Defined in:
- app/controllers/comfy/cms/assets_controller.rb
Instance Method Summary collapse
Instance Method Details
permalink #render_css ⇒ Object
[View source]
12 13 14 |
# File 'app/controllers/comfy/cms/assets_controller.rb', line 12 def render_css render body: @cms_layout.css, content_type: "text/css" end |
permalink #render_js ⇒ Object
[View source]
16 17 18 |
# File 'app/controllers/comfy/cms/assets_controller.rb', line 16 def render_js render body: @cms_layout.js, content_type: "application/javascript" end |