Sha256: 2d2a8b3e5893dd569512bc498df8270d60c4a0da93b42745c204dfd6b0430b6b

Contents?: true

Size: 449 Bytes

Versions: 11

Compression:

Stored size: 449 Bytes

Contents

CensorBear::Engine.routes.draw do
  resources :review_logs do
    collection do
      get "statistics"
    end

    member do
      post :raw_data
      put :approve
      put :undo_approve

      put :reject
      put :undo_reject

      put :remove
      put :undo_remove

      put :ban_user
    end
  end
  resources :stop_words do
    collection do
      get :import
      post :import_confirm
    end
  end

  root to: "review_logs#index"
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
censor_bear-0.1.29 config/routes.rb
censor_bear-0.1.28 config/routes.rb
censor_bear-0.1.27 config/routes.rb
censor_bear-0.1.26 config/routes.rb
censor_bear-0.1.25 config/routes.rb
censor_bear-0.1.24 config/routes.rb
censor_bear-0.1.23 config/routes.rb
censor_bear-0.1.22 config/routes.rb
censor_bear-0.1.21 config/routes.rb
censor_bear-0.1.20 config/routes.rb
censor_bear-0.1.19 config/routes.rb