Sha256: 6c1ee6255c0c6832d9f0ce24ebb19cfa21ed597a359719e2549e7b6bcf616468

Contents?: true

Size: 583 Bytes

Versions: 1

Compression:

Stored size: 583 Bytes

Contents

# Application route
Rails.application.routes.draw do
  mount BrilliantCms::Engine, at: '/admin'
end

# Engine routes
BrilliantCms::Engine.routes.draw do
  devise_for :users,  
    class_name: "BrilliantCms::User", 
    module: :devise,
    controllers: {
      registrations: 'brilliant_cms/registrations'
    },
    path: '', path_names: {
      edit: 'settings',
      sign_up: 'start',
      sign_in: 'login',
      sign_out:'logout'
    }

  scope "/:content_class" do
    get 'search', to: 'entries#search', as: :search
    resources :entries
  end

  root 'dashboard#index'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
brilliant_cms-0.0.1 config/routes.rb