Slide 195
Slide 195 text
LINEと連携してみよう
195
(余談)ルートってなに?
Railsでいうと
routes.rbみたいなもの
Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
namespace :book do
get '/index', to: 'book#index'
get '/search', to: 'book#search'
end
end