Sha256: 96d5f9673b4394fb571bf475f3be4d7908bcfca95c91c5068ab57368c9dd32f6
Contents?: true
Size: 419 Bytes
Versions: 1
Compression:
Stored size: 419 Bytes
Contents
module ActionDispatch::Routing class Mapper protected 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 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
devise_invitable-2.0.0 | lib/devise_invitable/routes.rb |