Sha256: 9c8bce4d9df3bed4a5b0a8a0d1571e462d23173fb49e72841da81cfb8e15bfa1

Contents?: true

Size: 730 Bytes

Versions: 1

Compression:

Stored size: 730 Bytes

Contents

Rails.application.routes.draw do
  devise_for :users, controllers: { 
    registrations: 'devise_extensions/registrations',
    sessions: 'devise_extensions/sessions' 
  }
  
  resources :page_module_collections do
    resources :modules, controller: 'page_modules', only: [:index, :new] do
      collection do
        put :move
      end
    end
  end
  
  resources :page_modules, only: [:index, :new, :create, :edit, :update, :destroy]
  resources :page_module_collections_modules, only: [:create, :destroy]
  
  resources :users, only: [:index, :show, :edit, :update, :destroy]
  
  resources :settings, only: [:index, :show, :edit, :update] do
    collection do
      put :updates
    end
  end
  
  root to: 'home#index'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
home_page-0.0.6 config/routes.rb