Class: MnUtilsGlobal::Gui
- Inherits:
-
Object
- Object
- MnUtilsGlobal::Gui
- Defined in:
- lib/mn_utils_gem/gui.rb
Class Method Summary collapse
Class Method Details
.render_component(component) ⇒ Object
6 7 8 9 10 |
# File 'lib/mn_utils_gem/gui.rb', line 6 def self.render_component(component) Rails.cache.fetch("gui-component-#{component}", expires_in: 1.hour) do render_component_html(component) end end |