Sha256: d1d3eb2e4eda8775fde4b62a4167ac9195acac716b38389bb648b21537809e08
Contents?: true
Size: 502 Bytes
Versions: 23
Compression:
Stored size: 502 Bytes
Contents
module Trackman module Components module Conventions Asset = Trackman::Assets::Asset def maintenance_path Pathname.new 'public/503.html' end def error_path Pathname.new 'public/503-error.html' end def maintenance_page Asset.create(:path => maintenance_path, :virtual_path => maintenance_path) end def error_page Asset.create(:path => error_path, :virtual_path => error_path) end end end end
Version data entries
23 entries across 23 versions & 1 rubygems