Sha256: 7b4ef9adaa0d8d3d11aa1c25d2a6f0e8ad3761420a0d6c5dfcdb995600180a10

Contents?: true

Size: 352 Bytes

Versions: 4

Compression:

Stored size: 352 Bytes

Contents

Rails.application.routes.draw do
  get '/manifest' => 'manifest/pages#index', as: 'manifest'

  namespace :manifest do
    get 'login', to: 'sessions#new', as: 'login'
    get 'logout', to: 'sessions#destroy', as: 'logout'

    resources :sessions
    resources :pages
    resources :content_blocks
  end

  get ':slug' => 'pages#show', as: 'page'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
manifest-rails-0.0.4 config/routes.rb
manifest-rails-0.0.3 config/routes.rb
manifest-rails-0.0.2 config/routes.rb
manifest-rails-0.0.1 config/routes.rb