Sha256: d4cd630bcecde8878941ee6e591c5dbe863283d4bf0b4be917a4946703cd5352
Contents?: true
Size: 419 Bytes
Versions: 10
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
10 entries across 10 versions & 2 rubygems