Sha256: 665bb495a5c3282c11ecdf3188c1599c3a895caafe54904800eba0c60e478dcc

Contents?: true

Size: 414 Bytes

Versions: 9

Compression:

Stored size: 414 Bytes

Contents

ClWiki::Engine.routes.draw do
  root to: 'page#show'

  # legacy CGI
  match '/clwikicgi.rb', to: 'page#show', via: [:get], as: 'legacy'

  get '/find' => 'page#find', as: 'page_find'
  post '/find' => 'page#find'

  get '/recent' => 'page#recent', as: 'recent'

  get '/:page_name' => 'page#show', as: 'page_show'
  get '/:page_name/edit' => 'page#edit', as: 'page_edit'
  post '/:page_name' => 'page#update'
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
clwiki-2.4.0 config/routes.rb
clwiki-2.3.2 config/routes.rb
clwiki-2.3.0 config/routes.rb
clwiki-2.2.0 config/routes.rb
clwiki-2.1.8 config/routes.rb
clwiki-2.1.7 config/routes.rb
clwiki-2.1.6 config/routes.rb
clwiki-2.0.1 config/routes.rb
clwiki-2.0.0 config/routes.rb