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

Version Path
optimacms-0.1.45 spec/dummy/config/routes.rb
optimacms-0.1.44 spec/dummy/config/routes.rb
optimacms-0.1.43 spec/dummy/config/routes.rb
optimacms-0.1.41 spec/dummy/config/routes.rb
optimacms-0.1.40 spec/dummy/config/routes.rb
optimacms-0.1.39 spec/dummy/config/routes.rb
optimacms-0.1.38 spec/dummy/config/routes.rb
optimacms-0.1.36 test/dummy/config/routes.rb
optimacms-0.1.34 test/dummy/config/routes.rb
optimacms-0.1.32 test/dummy/config/routes.rb
optimacms-0.1.31 test/dummy/config/routes.rb
optimacms-0.1.28 test/dummy/config/routes.rb
optimacms-0.1.27 test/dummy/config/routes.rb