8
9
10
11
12
13
14
15
16
|
# File 'lib/generators/rails_jwt_auth/install_generator.rb', line 8
def create_routes
route "resource :session, controller: 'rails_jwt_auth/sessions', only: [:create, :destroy]"
route "resource :registration, controller: 'rails_jwt_auth/registrations', only: [:create, :update, :destroy]"
route "resource :confirmation, controller: 'rails_jwt_auth/confirmations', only: [:create, :update]"
route "resource :password, controller: 'rails_jwt_auth/passwords', only: [:create, :update]"
route "resource :invitations, controller: 'rails_jwt_auth/invitations', only: [:create, :update]"
end
|