Sha256: 91a789e4efdced71eaaafcaad6dd85e8a6eadf5713459651a392e5023d084227
Contents?: true
Size: 805 Bytes
Versions: 6
Compression:
Stored size: 805 Bytes
Contents
module ActionDispatch::Routing class Mapper protected ######### def devise_token(mapping, controllers) resource :token, only: [:show, :update, :destroy], path: mapping.path_names[:token], controller: controllers[:tokens] do if Devise.otp_trust_persistence get :persistence, action: 'get_persistence' post :persistence, action: 'clear_persistence' delete :persistence, action: 'delete_persistence' end get :recovery end resource :credential, only: [:show, :update], path: mapping.path_names[:credential], controller: controllers[:credentials] do get :refresh, action: 'get_refresh' put :refresh, action: 'set_refresh' end end end end
Version data entries
6 entries across 6 versions & 1 rubygems