Sha256: 2e5fbdee23e49ad158f0854d4125cddd2b3117004c942f0baf040bf8f9f57704
Contents?: true
Size: 748 Bytes
Versions: 2
Compression:
Stored size: 748 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 resources :subscriptions, :only => [:index] end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
commontator-0.4.1 | config/routes.rb~ |
commontator-0.3.10 | config/routes.rb~ |