Ruby/rails/ルータ設定
提供: 初心者エンジニアの簡易メモ
ルータ設定
- config/routes.rb
match '/auth/:provider/callback' => 'sessions#callback' match "/signout" => "sessions#destroy", :as => :signout
ルータ確認
rake routes
match '/auth/:provider/callback' => 'sessions#callback' match "/signout" => "sessions#destroy", :as => :signout
rake routes
|