Sha256: f5dc9b27abd484696ec1b935f01488c59894b858b520db6c9e09b8d04340a2da
Contents?: true
Size: 548 Bytes
Versions: 10
Compression:
Stored size: 548 Bytes
Contents
class ActionDispatch::Routing::Mapper def comfy_route_cms(options = {}) ComfortableMexicanSofa.configuration.public_cms_path = options[:path] scope module: :comfy, as: :comfy do namespace :cms, path: options[:path] do get "cms-css/:site_id/:identifier(/:cache_buster)" => "assets#render_css", as: "render_css" get "cms-js/:site_id/:identifier(/:cache_buster)" => "assets#render_js", as: "render_js" get "(*cms_path)" => "content#show", as: "render_page", action: "/:format" end end end end
Version data entries
10 entries across 10 versions & 1 rubygems