Sha256: 74824da79d5df92443f196e3926907311fad5dbeae3c75cc34b8b45c5158479e

Contents?: true

Size: 447 Bytes

Versions: 1

Compression:

Stored size: 447 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" }  
        end
      end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devise_xfactor_authentication-2.2.23 lib/devise_xfactor_authentication/routes.rb