Sha256: 2d4ab1649f42f0fd019916a8660c6ae67324e7803c403a7de3d57c5d4c5ba0ea
Contents?: true
Size: 736 Bytes
Versions: 3
Compression:
Stored size: 736 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 get 'subscribe', :to => 'subscriptions#create', :as => 'subscribe', :on => :member get 'unsubscribe', :to => 'subscriptions#destroy', :as => 'unsubscribe', :on => :member end resources :subscriptions, :only => [:index] end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
commontator-0.2.4 | config/routes.rb~ |
commontator-0.2.0 | config/routes.rb~ |
commontator-0.1.46 | config/routes.rb~ |