class ActionDispatch::Routing::Mapper
Protected Instance Methods
devise_invitation(mapping, controllers)
click to toggle source
# File lib/devise_invitable/routes.rb, line 6 def devise_invitation(mapping, controllers) resource :invitation, only: [:new, :create, :update], path: mapping.path_names[:invitation], controller: controllers[:invitations] do get :edit, path: mapping.path_names[:accept], as: :accept get :destroy, path: mapping.path_names[:remove], as: :remove end end