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