Sha256: caaa75c534f4b71b6684072ba21fecc129e22748780e55d33c2f78b4612d8bf4
Contents?: true
Size: 473 Bytes
Versions: 13
Compression:
Stored size: 473 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: 'hello' # 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
13 entries across 13 versions & 1 rubygems