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

Version Path
devise_phone-0.0.16 lib/devise_phone/routes.rb
devise_phone-0.0.15 lib/devise_phone/routes.rb
devise_phone-0.0.14 lib/devise_phone/routes.rb
devise_phone-0.0.13 lib/devise_phone/routes.rb
devise_phone-0.0.12 lib/devise_phone/routes.rb
devise_phone-0.0.11 lib/devise_phone/routes.rb
devise_phone-0.0.1 lib/devise_phone/routes.rb