Sha256: 18c2bf57b5ef84c5fcfc6d8336feeac4604553e4f2c966ded09c94209890cab2

Contents?: true

Size: 689 Bytes

Versions: 4

Compression:

Stored size: 689 Bytes

Contents

Rails.application.routes.draw do

  get "content-page", :to=>"content_page#index"
  get "custom-page", :to=>"content_page#custom_page"

  namespace :cms  do content_blocks :products end


  # These are for testing
  match "/__test__", :to => "cms/content#show_page_route"

  match "/tests/restricted", :to => "tests/pretend#restricted"
  match "/tests/open", :to => "tests/pretend#open"
  match "/tests/open_with_layout", :to => "tests/pretend#open_with_layout"
  match "/tests/error", :to => "tests/pretend#error"
  match "/tests/not-found", :to => "tests/pretend#not_found"
  namespace :cms do
    content_blocks :sample_blocks
  end

  # Actual browsercms engine
  mount_browsercms
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
browsercms-3.4.2 test/dummy/config/routes.rb
browsercms-3.4.2.rc1 test/dummy/config/routes.rb
browsercms-3.4.1 test/dummy/config/routes.rb
browsercms-3.4.0 test/dummy/config/routes.rb