Sha256: 6570c2cad09740fc9eeceb696ded601afd8dfdc467b357892f8fe58abd8007a0
Contents?: true
Size: 465 Bytes
Versions: 7
Compression:
Stored size: 465 Bytes
Contents
module ActionDispatch::Routing class Mapper protected def devise_phone(mapping, controllers) resource :phone_verification, :only => [:new, :create], :path => mapping.path_names[:phone_verification], :controller => controllers[:phone_verifications] do match :consume, :path => mapping.path_names[:consume], :as => :consume get :insert, :path => mapping.path_names[:insert], :as => :insert end end end end
Version data entries
7 entries across 7 versions & 1 rubygems