Sha256: 4aebeffb8837d384dd8291bc7e8207f50a1e2caddbc5264cf84fce450b0c7b94
Contents?: true
Size: 472 Bytes
Versions: 4
Compression:
Stored size: 472 Bytes
Contents
Rails.application.routes.draw do # users for optimacms devise_for :cms_admin_users, Optimacms::Devise.config # usual devise_for :users get 'hello.html', to: 'my#hello', as: 'home' # the last!!! mount Optimacms::Engine => "/" # root to: 'home#index' # 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.25 | test/dummy/config/routes.rb |
optimacms-0.1.24 | test/dummy/config/routes.rb |
optimacms-0.1.23 | test/dummy/config/routes.rb |
optimacms-0.1.21 | test/dummy/config/routes.rb |