Sha256: f67f037dc7d095a0b1927015da72e410dd3c5ba899520bcbd87ef22d089928fe

Contents?: true

Size: 341 Bytes

Versions: 7

Compression:

Stored size: 341 Bytes

Contents

ActionController::Routing::Routes.draw do |map|

  CmsLite.cms_routes.each do |cms_route|
    map.connect cms_route[:uri], CmsLite.build_route_options('show_page', cms_route)
  end
  
  CmsLite.protected_cms_routes.each do |cms_route|
    map.connect cms_route[:uri], CmsLite.build_route_options('show_protected_page', cms_route)
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cms-lite-0.5.7 config/cms_lite_routes.rb
cms-lite-0.5.6 config/cms_lite_routes.rb
cms-lite-0.5.4 config/cms_lite_routes.rb
cms-lite-0.5.3 config/cms_lite_routes.rb
cms-lite-0.5.2 config/cms_lite_routes.rb
cms-lite-0.5.0 config/cms_lite_routes.rb
cms-lite-0.5.1 config/cms_lite_routes.rb