Sha256: dd0656c93551971490f62af2c1a67e552eefe9b6839b1fc806ca08ebc20dfe6b
Contents?: true
Size: 498 Bytes
Versions: 6
Compression:
Stored size: 498 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 post :verify_code, :path => mapping.path_names[:verify_code], :as => :verify_code get :send_code, :path => mapping.path_names[:send_code], :as => :send_code end end end end
Version data entries
6 entries across 6 versions & 1 rubygems