Sha256: f0ef14411390d22b92a79c4732ace83f26d1e7c570be01f8e4cd435aff61a334

Contents?: true

Size: 294 Bytes

Versions: 9

Compression:

Stored size: 294 Bytes

Contents

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

  namespace :admin, path: "_admin" do
    resources :pages, only: :index

    resources :entities, only: [:create, :update, :destroy] do
      get :move, on: :member
    end
  end

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
type_station-0.3.4 config/routes.rb
type_station-0.3.3 config/routes.rb
type_station-0.3.2 config/routes.rb
type_station-0.3.1 config/routes.rb
type_station-0.3.0 config/routes.rb
type_station-0.2.3 config/routes.rb
type_station-0.2.2 config/routes.rb
type_station-0.2.1 config/routes.rb
type_station-0.2.0 config/routes.rb