Mecury Editor をインストールした後、サーバーを起動しようとすると、次のようになります。
in `normalize_conditions!': You should not use the `match` method in your router without specifying an HTTP method. (RuntimeError)
If you want to expose your action to both GET and POST, add `via: [:get, :post]` option.
If you want to expose your action to GET, use `get` in the router:
Instead of: match "controller#action"
Do: get "controller#action"
ここにルートファイルがあります
Bootcanvise::Application.routes.draw do
Mercury::Engine.routes
resources :newsletters
resources :advertisers
devise_for :users
get "home/index"
# The priority is based upon order of creation: first created -> highest priority.
# See how all your routes lay out with "rake routes".
# You can have the root of your site routed with "root"
root 'home#index'
end
ルートファイルを編集しようとしましたが、同じエラーが発生し続けます
これは、routes.rb ファイルに対する理解が不足しているためだと思われます。