config/routes.rb in tramway-auth-1.2.1.1 vs config/routes.rb in tramway-auth-2.0.1
- old
+ new
@@ -1,8 +1,9 @@
# frozen_string_literal: true
Tramway::Auth::Engine.routes.draw do
scope module: :web do
- resource :session, only: %i[new create destroy]
+ resource :session, only: %i[new create]
+ get 'sign_out', to: 'sessions#destroy'
resource :sign_up, only: :create
end
end