Sha256: 9f6dbc7844d15bca13e49436711b2ca93294670b7485d14e405ec1876d4f2bd1

Contents?: true

Size: 465 Bytes

Versions: 2

Compression:

Stored size: 465 Bytes

Contents

Localtower::Engine.routes.draw do
  get 'migrations/new', to: 'pages#new_migration', as: :new_migration
  get 'migrations', to: 'pages#migrations', as: :migrations
  post 'migrations', to: 'pages#post_migrations'

  get 'models/new', to: 'pages#new_model', as: :new_model
  post 'models', to: 'pages#post_models'

  post 'actions', to: 'pages#post_actions', as: :actions
  post 'rm_file', to: 'pages#rm_file', as: :rm_file

  root :to => redirect('models/new')
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
localtower-2.0.1 config/routes.rb
localtower-2.0.0 config/routes.rb