Sha256: 7ec5d0c2d0ea9824283ec483a4124d223b2406e0bd3c7c45d9552765d7924269

Contents?: true

Size: 263 Bytes

Versions: 2

Compression:

Stored size: 263 Bytes

Contents

TypeStation::Engine.routes.draw do
  root :to => 'pages#index'

  namespace :admin, path: "_admin" do
    resources :pages, only: [:index, :create, :update, :destroy] do
      get :move, on: :member
    end
  end

  match "*path", to: "pages#show", via: :all
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
type_station-0.1.3 config/routes.rb
type_station-0.1.1 config/routes.rb