Sha256: 402696ec037600073d0ee97ac24a5fbb10df8b71380cc100995a94ba5ab18a3b
Contents?: true
Size: 542 Bytes
Versions: 2
Compression:
Stored size: 542 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] get 'search', :to => 'pages#search', :as => 'search' get '*path' => 'pages#show', :as => 'page' root :to => 'pages#index' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
documentation-1.0.1 | config/routes.rb |
documentation-1.0.0 | config/routes.rb |