module RailheadPreheat
Public Instance Methods
preheat(item = self)
click to toggle source
# File lib/railhead_preheat.rb, line 19 def preheat(item = self) item.reload if item.respond_to?(:reload) RailheadPreheatController.new.render_to_string(item) end