class ActionDispatch::Routing::Mapper

Protected Instance Methods

devise_userbin(mapping, controllers) click to toggle source
# File lib/devise_userbin/routes.rb, line 5
def devise_userbin(mapping, controllers)
  resources :two_factor_authentication, :only => [:new, :show, :update, :edit], :path => mapping.path_names[:two_factor_authentication], :controller => controllers[:two_factor_authentication]
end