Sha256: ad0d015e70593c6f43053c7209aa5b2e467aee87c76ce6c69b6c2c57d44dea0f

Contents?: true

Size: 473 Bytes

Versions: 3

Compression:

Stored size: 473 Bytes

Contents

TheComments::Engine.routes.draw do
  resources :comments do
    member do
      post   :to_spam
      post   :to_draft
      post   :to_published
      delete :to_deleted
    end

    collection do
      get :manage

      get :my_draft
      get :my_published
      get :my_comments

      get :total_draft
      get :total_published
      get :total_deleted
      get :total_spam

      get :draft
      get :published
      get :deleted
      get :spam
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
the_comments-2.1.0 config/routes.rb
the_comments-2.0.1 config/routes.rb
the_comments-2.0.0 config/routes.rb