Sha256: df97569192f69a0a2afcb6e9a56bc9df3b7612bd76ebe95f95c48ab9cf9eb863

Contents?: true

Size: 351 Bytes

Versions: 13

Compression:

Stored size: 351 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 '/:id' => 'pages#show', as: 'page'
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
manifest-rails-0.2.8 config/routes.rb
manifest-rails-0.2.7 config/routes.rb
manifest-rails-0.2.6 config/routes.rb
manifest-rails-0.2.5 config/routes.rb
manifest-rails-0.2.4 config/routes.rb
manifest-rails-0.2.3 config/routes.rb
manifest-rails-0.2.2 config/routes.rb
manifest-rails-0.2.1 config/routes.rb
manifest-rails-0.2.0 config/routes.rb
manifest-rails-0.1.3 config/routes.rb
manifest-rails-0.1.2 config/routes.rb
manifest-rails-0.1.1 config/routes.rb
manifest-rails-0.1.0 config/routes.rb