Sha256: 4ede596a1186419c273ddf3c5705e398acf682b07cf2684a4d89f74461a7744b
Contents?: true
Size: 478 Bytes
Versions: 1
Compression:
Stored size: 478 Bytes
Contents
module ActionDispatch::Routing class Mapper protected def devise_phone_verification(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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
devise_phone-0.0.161 | lib/devise_phone/routes.rb |