devise是一套使用者認證(Authentication)套件,是Rails社群中最廣為使用的一套。 ... 用法. 在需要登入的controller 加上 before_action :authenticate_user!
確定! 回上一頁