Sha256: d11ff34d223fe5c8ca42444c9a9623c9498d21bc602d06b6efebefbd2f4dec29
Contents?: true
Size: 409 Bytes
Versions: 2
Compression:
Stored size: 409 Bytes
Contents
# frozen_string_literal: true Yaw::Engine.routes.draw do resources :wiki_spaces, path: '/', only: [] do nested do post 'wiki' => 'wiki_page#create', as: 'wiki_pages' get 'wiki/*path' => 'wiki_page#show', as: 'wiki_page' patch 'wiki/*path' => 'wiki_page#update' put 'wiki/*path' => 'wiki_page#update' get 'edit/*path' => 'wiki_page#edit', as: 'wiki_edit' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yaw-0.0.2 | config/routes.rb |
yaw-0.0.1 | config/routes.rb |