Sha256: 52122e194bf28db9fe01e5c4fd754de7e747f6469777fa34325de07db2c0ef94
Contents?: true
Size: 440 Bytes
Versions: 26
Compression:
Stored size: 440 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
26 entries across 26 versions & 1 rubygems