Sha256: 507231062df320bb6a4dc9158f200b551d6ee2137f9c3cc934b949dd25dfdfc2
Contents?: true
Size: 502 Bytes
Versions: 20
Compression:
Stored size: 502 Bytes
Contents
Commontator::Engine.routes.draw do resources :threads, :only => [:show] do resources :comments, :except => [:index, :destroy], :shallow => true do member do put 'delete' put 'undelete' put 'upvote' put 'downvote' put 'unvote' end end member do put 'close' put 'reopen' put 'subscribe', :to => 'subscriptions#subscribe' put 'unsubscribe', :to => 'subscriptions#unsubscribe' end end end
Version data entries
20 entries across 20 versions & 1 rubygems