Sha256: 11bd39e3b0b2e5c87ef5cb94d22eb0236c88f66c94f97b982776cc876f90e352

Contents?: true

Size: 363 Bytes

Versions: 14

Compression:

Stored size: 363 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

  get 'file-download/:identifier' => 'file#download', as: :download

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
type_station-0.7.0 config/routes.rb
type_station-0.6.0 config/routes.rb
type_station-0.5.4 config/routes.rb
type_station-0.5.3 config/routes.rb
type_station-0.5.2 config/routes.rb
type_station-0.5.1 config/routes.rb
type_station-0.4.7 config/routes.rb
type_station-0.4.6 config/routes.rb
type_station-0.4.5 config/routes.rb
type_station-0.4.4 config/routes.rb
type_station-0.4.3 config/routes.rb
type_station-0.4.2 config/routes.rb
type_station-0.4.1 config/routes.rb
type_station-0.4.0 config/routes.rb