Sha256: 8b0eb28938e8bf45e226b81bf842a91d7af0eb6b408fb5e1220cccb4eb8f2162
Contents?: true
Size: 600 Bytes
Versions: 4
Compression:
Stored size: 600 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' # extend admin area scope '/cmsadmin', module: "optimacms" do namespace :admin do resources :news end end # 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.50 | spec/dummy/config/routes.rb |
optimacms-0.1.49 | spec/dummy/config/routes.rb |
optimacms-0.1.48 | spec/dummy/config/routes.rb |
optimacms-0.1.47 | spec/dummy/config/routes.rb |