Sha256: eade1e65fdb8df4401d12660f5cfea94a5165757cfc15ab05b5b4001cf6078d6

Contents?: true

Size: 479 Bytes

Versions: 3

Compression:

Stored size: 479 Bytes

Contents

module ActionDispatch::Routing
  class Mapper
    protected

      def devise_devise_xfactor_authentication(mapping, controllers)
        resource :devise_xfactor_authentication, 
        :only => [:show, :update, :resend_code], 
        :path => mapping.path_names[:devise_xfactor_authentication], 
        :controller => controllers[:devise_xfactor_authentication] do
          collection { get "resend_code" }
          collection { get "bob"}
        end
      end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
devise_xfactor_authentication-2.2.22 lib/devise_xfactor_authentication/routes.rb
devise_xfactor_authentication-2.2.21 lib/devise_xfactor_authentication/routes.rb
devise_xfactor_authentication-2.2.20 lib/devise_xfactor_authentication/routes.rb