Sha256: 4227f3087095b0cca85a6440ba82abb6a424163e75e551dad83675fc8efe24aa

Contents?: true

Size: 943 Bytes

Versions: 9

Compression:

Stored size: 943 Bytes

Contents

YariiEditor::Engine.routes.draw do
  get 'documents/:content_model', to: 'documents#index', as: 'documents'
  post 'documents/:content_model', to: 'documents#create', as: 'create_document'
  get 'documents/:content_model/new', to: 'documents#new', as: 'new_document'
  get 'documents/:content_model/:id/edit', to: 'documents#edit', as: 'edit_document' 
  put 'documents/:content_model/:id', to: 'documents#update', as: 'update_document'
  delete 'documents/:content_model/:id', to: 'documents#destroy', as: 'destroy_document'

  get 'publish/remote_is_up_to_date', to: 'publish#remote_is_up_to_date', as: 'remote_is_up_to_date'
  get 'publish/menu', to: 'publish#menu', as: 'publishing_menu'
  get 'publish/commit', to: 'publish#commit', as: 'commit_publish'
  post 'publish/push_commit', to: 'publish#push_commit', as: 'push_commit_publish'

  get 'dashboard/list', to: 'dashboard#list', as: 'dashboard_list'
  root to: "dashboard#index"
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
yarii-editor-0.4.8 config/routes.rb
yarii-editor-0.4.7 config/routes.rb
yarii-editor-0.4.6 config/routes.rb
yarii-editor-0.4.5 config/routes.rb
yarii-editor-0.4.4 config/routes.rb
yarii-editor-0.4.3 config/routes.rb
yarii-editor-0.4.2 config/routes.rb
yarii-editor-0.4.1 config/routes.rb
yarii-editor-0.4.0 config/routes.rb