Sha256: 310e2af6b8c4730a0b155c07fe6c288e99fc41c0325ee044f4b25dfe86f1b09e
Contents?: true
Size: 556 Bytes
Versions: 2
Compression:
Stored size: 556 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 get 'mentions' if Commontator.mentions_enabled put 'close' put 'reopen' put 'subscribe', :to => 'subscriptions#subscribe' put 'unsubscribe', :to => 'subscriptions#unsubscribe' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
commontator-4.11.1 | config/routes.rb |
commontator-4.11.0 | config/routes.rb |