Sha256: 8187b7b3104d2fb7a04117f8a6f3f2f4fc23a9d2a000a286d9a5b2918187a019
Contents?: true
Size: 402 Bytes
Versions: 5
Compression:
Stored size: 402 Bytes
Contents
module ActionDispatch::Routing class Mapper protected def devise_two_factor_authentication(mapping, controllers) resource :two_factor_authentication, :only => [:show, :update, :resend_code], :path => mapping.path_names[:two_factor_authentication], :controller => controllers[:two_factor_authentication] do collection { get "resend_code" } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems