Sha256: 24f8a969915ba9622e737684bca2646a1e1a2e56866bd7d70a378b9b72f162c0
Contents?: true
Size: 354 Bytes
Versions: 4
Compression:
Stored size: 354 Bytes
Contents
Rails.application.routes.draw do root to: 'home#index' get 'hello.html', to: 'my#hello', as: 'home' # the last!!! mount Optimacms::Engine => "/" # all pages #scope module: 'optimacms' do # match '*path', :to => 'pages#show', via: :all #end #, format: false # , constraints: -> (req) { !(req.fullpath =~ /^\/assets\/.*/) } end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
optimacms-0.1.5 | test/dummy/config/routes.rb |
optimacms-0.1.3 | test/dummy/config/routes.rb |
optimacms-0.1.2 | test/dummy/config/routes.rb |
optimacms-0.1.1 | test/dummy/config/routes.rb |