Sha256: 507231062df320bb6a4dc9158f200b551d6ee2137f9c3cc934b949dd25dfdfc2

Contents?: true

Size: 502 Bytes

Versions: 20

Compression:

Stored size: 502 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
      put 'close'
      put 'reopen'
      
      put 'subscribe', :to => 'subscriptions#subscribe'
      put 'unsubscribe', :to => 'subscriptions#unsubscribe'
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
commontator-4.10.5 config/routes.rb
commontator-4.10.4 config/routes.rb
commontator-4.10.3 config/routes.rb
commontator-4.10.2 config/routes.rb
commontator-4.10.1 config/routes.rb
commontator-4.10.0 config/routes.rb
commontator-4.9.0 config/routes.rb
commontator-4.5.4 config/routes.rb
commontator-4.5.3 config/routes.rb
commontator-4.5.2 config/routes.rb
commontator-4.5.1 config/routes.rb
commontator-4.5.0 config/routes.rb
commontator-4.4.1 config/routes.rb
commontator-4.3.0 config/routes.rb
commontator-4.2.2 config/routes.rb
commontator-4.2.1 config/routes.rb
commontator-4.2.0 config/routes.rb
commontator-4.1.2 config/routes.rb
commontator-4.1.1 config/routes.rb
commontator-4.0.2 config/routes.rb