2021 iThome 鐵人賽
分享至
gem 'devise'
rails generate devise:install
rails generate devise user
rails generate devise:views
rails db:migrate
rails g controller usersbefore_action :authenticate_user!
rails g controller users
before_action :authenticate_user!
謝謝大家
IT邦幫忙