Sha256: c71933d29cb1fd14bb22daf1e1e0f1c2928377b8910b415c2eceb5c46be717f6
Contents?: true
Size: 724 Bytes
Versions: 3
Compression:
Stored size: 724 Bytes
Contents
Commontator::Engine.routes.draw do resources :threads, :only => [:show] do resources :comments, :except => [:index, :destroy], :shallow => true do patch 'delete', :on => :member patch 'undelete', :on => :member patch 'upvote', :on => :member patch 'downvote', :on => :member patch 'unvote', :on => :member end patch 'close', :on => :member patch 'reopen', :on => :member patch 'subscribe', :to => 'subscriptions#subscribe', :as => 'subscribe', :on => :member patch 'unsubscribe', :to => 'subscriptions#destroy', :as => 'unsubscribe', :on => :member end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
commontator-2.0.2 | config/routes.rb~ |
commontator-4.0.1 | config/routes.rb~ |
commontator-4.0.0 | config/routes.rb~ |