File: routes.rb

package info (click to toggle)
ruby-invisible-captcha 2.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 384 kB
  • sloc: ruby: 717; makefile: 6
file content (11 lines) | stat: -rw-r--r-- 270 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
Rails.application.routes.draw do
  resources :topics do
    post :publish, on: :member
    post :rename, on: :collection
    post :categorize, on: :collection
    post :copy, on: :collection
    post :test_passthrough, on: :collection
  end

  root to: 'topics#new'
end