Sha256: 37ba8b0c92aaf90dd209b2832568a33505807c03847c6d415830d03da3332d05
Contents?: true
Size: 558 Bytes
Versions: 15
Compression:
Stored size: 558 Bytes
Contents
module Trackman module Assets 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 end
Version data entries
15 entries across 15 versions & 1 rubygems