Sha256: ddd2c63fe23e208b5e143836748b942fe1ba1d48aa0732d15b0ae24a1b75b06a

Contents?: true

Size: 325 Bytes

Versions: 2

Compression:

Stored size: 325 Bytes

Contents

Exposition::Engine.routes.draw do
  namespace :admin do
    resources :posts
    resources :tags
    get    'login'   => 'sessions#new'
    post   'login'   => 'sessions#create'
    get    'logout'  => 'sessions#destroy'
  end

  resources :posts, only: [:show]
  resources :tags, only: [:show]

  root to: 'posts#index'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
exposition-0.0.5.7.pre.alpha config/routes.rb
exposition-0.0.5.6.pre.alpha config/routes.rb