Sha256: 044092ade9935388ede2cb1b3624006222c1bac5938af6a8329773b944555e28

Contents?: true

Size: 641 Bytes

Versions: 9

Compression:

Stored size: 641 Bytes

Contents

Documentation::Engine.routes.draw do
  
  match 'new(/*path)', :to => 'pages#new', :as => 'new_page', :via => [:get, :post]
  match 'positioning(/*path)', :to => 'pages#positioning', :as => 'page_positioning', :via => [:get, :post]
  match 'edit(/*path)', :to => 'pages#edit', :as => 'edit_page', :via => [:get, :patch]
  match 'delete(/*path)', :to => 'pages#destroy', :as => 'delete_page', :via => [:delete]
  match 'screenshot', :to => 'pages#screenshot', :as => 'upload_screenshot', :via => [:get, :post]
  get 'search', :to => 'pages#search', :as => 'search'
  get '*path' => 'pages#show', :as => 'page'
  root :to => 'pages#index'
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
documentation-1.0.9 config/routes.rb
documentation-1.0.8 config/routes.rb
documentation-1.0.7 config/routes.rb
documentation-1.0.6 config/routes.rb
local_documentation-1.0.0 config/routes.rb
documentation-1.0.5 config/routes.rb
documentation-1.0.4 config/routes.rb
documentation-1.0.3 config/routes.rb
documentation-1.0.2 config/routes.rb