Sha256: 3a836bd628f5d116b138daa0b64f4a983caf456e3cc79cae49520c4b07473f05
Contents?: true
Size: 306 Bytes
Versions: 4
Compression:
Stored size: 306 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ecm_cms2-1.1.1 | lib/ecm/cms/routing.rb |
ecm_cms2-1.1.0 | lib/ecm/cms/routing.rb |
ecm_cms2-1.0.1 | lib/ecm/cms/routing.rb |
ecm_cms2-1.0.0 | lib/ecm/cms/routing.rb |