Sha256: 75f2ed6cdfd0ccc22e5285fd1a531e803d84b508cd2a92ff643e08942d07a49b
Contents?: true
Size: 300 Bytes
Versions: 12
Compression:
Stored size: 300 Bytes
Contents
module Ecm module Cms class Routing def self.routes(router, options = {}) options.reverse_merge!({}) router.get '/*page', to: 'ecm/cms/page#respond', as: :page router.get '/' => 'ecm/cms/page#respond', :page => 'home' # , :as => :root end end end end
Version data entries
12 entries across 12 versions & 1 rubygems