Sha256: 1c47fd15109c0a02d3c4575fde02bc1a78dfe4cf6ddaa143d9c2b498df213ffe

Contents?: true

Size: 330 Bytes

Versions: 8

Compression:

Stored size: 330 Bytes

Contents

module ActionDispatch::Routing
  class Mapper
    protected

      def devise_two_factor_authentication(mapping, controllers)
        resource :two_factor_authentication, :only => [:show, :update], :path => mapping.path_names[:two_factor_authentication], :controller => controllers[:two_factor_authentication]
      end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
two_factor_authentication-1.1.5 lib/two_factor_authentication/routes.rb
two_factor_authentication-1.1.4 lib/two_factor_authentication/routes.rb
two_factor_authentication-1.1.3 lib/two_factor_authentication/routes.rb
two_factor_authentication-1.1.1 lib/two_factor_authentication/routes.rb
two_factor_authentication-1.1 lib/two_factor_authentication/routes.rb
two_factor_authentication-1.0 lib/two_factor_authentication/routes.rb
two_factor_authentication-0.2 lib/two_factor_authentication/routes.rb
two_factor_authentication-0.0.1 lib/two_factor_authentication/routes.rb