config/routes.rb in wechat-validator-0.1 vs config/routes.rb in wechat-validator-0.2
- old
+ new
@@ -1,9 +1,5 @@
Wechat::Validator::Engine.routes.draw do
- #scope module: 'wechat/validator' do
- # resources :server_validations, only: :index
- #end
-
- resources :server_validations, only: :index
+ resources :server_validations, only: [ :index, :create ]
end