Routingについて知りたい
rails routes コマンドで出力できるけれど、rails consoleとかでも確認したい
どうするのがいいのかな?
code:bash
sample_app $ rails routes
Prefix Verb URI Pattern Controller#Action
static_pages_home GET /static_pages/home(.:format) static_pages#home
static_pages_help GET /static_pages/help(.:format) static_pages#help
static_pages_about GET /static_pages/about(.:format) static_pages#about
sample_app $
なるほど、Gemのrails の箇所にパスを指定するのか!!!