Sha256: eebcf2917508c673e1f410ab59508df8450b7081a9c387f34fd679907d65ed19

Contents?: true

Size: 387 Bytes

Versions: 3

Compression:

Stored size: 387 Bytes

Contents

Rails.application.routes.draw do
  resources :ip_black_lists do
    patch :to_state
  end

  resources :user_agent_black_lists do 
    patch :to_state
  end

  resources :comments do
    member do
      post   :to_spam
      post   :to_draft
      post   :to_published
      delete :to_trash
    end

    collection do
      get :my
      get :incoming
      get :trash
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
the_comments-1.1.0 config/routes.rb
the_comments-1.0.0 config/routes.rb
the_comments-0.9.9 config/routes.rb